text
stringlengths 1
474
|
|---|
Other channels
|
We currently have one other channel, master.
|
People who contribute to Flutter use this channel.This channel is not as thoroughly tested as
|
the beta and stable channels.We do not recommend using this channel as
|
it is more likely to contain serious regressions.The latest documentation for the master branch
|
is at: https://main-api.flutter.dev<topic_end>
|
<topic_start>
|
Changing channels
|
To view your current channel, use the following command:To change to another channel, use flutter channel <channel-name>.
|
Once you’ve changed your channel, use flutter upgrade
|
to download the latest Flutter SDK and dependent packages for that channel.
|
For example:info Note
|
If you need a specific version of the Flutter SDK,
|
you can download it from the Flutter SDK archive.<topic_end>
|
<topic_start>
|
Upgrading packages
|
If you’ve modified your pubspec.yaml file, or you want to update
|
only the packages that your app depends upon
|
(instead of both the packages and Flutter itself),
|
then use one of the flutter pub commands.To update to the latest compatible versions of
|
all the dependencies listed in the pubspec.yaml file,
|
use the upgrade command:To update to the latest possible version of
|
all the dependencies listed in the pubspec.yaml file,
|
use the upgrade --major-versions command:This also automatically update the constraints
|
in the pubspec.yaml file.To identify out-of-date package dependencies and get advice
|
on how to update them, use the outdated command. For details, see
|
the Dart pub outdated documentation.
|
<topic_end>
|
<topic_start>Flutter SDK archive
|
The Stable channel contains the
|
most stable Flutter builds.
|
To learn more, check out Flutter’s channels.error Important
|
If you develop apps in China, check out using Flutter in China.To learn what’s new in the major Flutter releases,
|
check out the release notes page.A note on provenance: provenance
|
describes how software artifacts are built, including
|
what the download contains and who created it.
|
To view provenance in a more readable format
|
and where nothing is downloaded, run the following
|
command using the provenance file URL from a release (you might need to
|
download jq to easily parse the JSON).<topic_end>
|
<topic_start>Stable channel (Windows)
|
Select from the following scrollable list:<topic_end>
|
<topic_start>Beta channel (Windows)
|
Select from the following scrollable list:<topic_end>
|
<topic_start>Stable channel (macOS)
|
Select from the following scrollable list:<topic_end>
|
<topic_start>Beta channel (macOS)
|
Select from the following scrollable list:<topic_end>
|
<topic_start>Stable channel (Linux)
|
Select from the following scrollable list:<topic_end>
|
<topic_start>Beta channel (Linux)
|
Select from the following scrollable list:<topic_end>
|
<topic_start>Master channel
|
Installation bundles are not available for master.
|
However, you can get the SDK directly from
|
GitHub repo by cloning the master channel,
|
and then triggering a download of the SDK dependencies:For additional details on how our installation bundles are structured,
|
see Installation bundles.
|
<topic_end>
|
<topic_start>What's new
|
This page contains current and recent announcements
|
of what’s new on the Flutter website and blog.
|
Find past what’s new information on the
|
what’s new archive page.
|
You might also check out the
|
Flutter SDK release notes.To stay on top of Flutter announcements including
|
breaking changes,
|
join the flutter-announce Google group.For Dart, you can join the Dart Announce Google group,
|
and review the Dart changelog.<topic_end>
|
<topic_start>
|
15 February 2024: Valentine’s-Day-adjacent 3.19 release
|
Flutter 3.19 is live! For more information,
|
check out the Flutter 3.19 umbrella blog post
|
and the Flutter 3.19 technical blog post.You might also check out the Dart 3.3 release blog post.Docs updated or added since the 3.16 releaseOther updatesFor past releases, check out the
|
What’s new archive page.
|
<topic_end>
|
<topic_start>Flutter release notes
|
This page links to announcements and release notes for
|
releases to the stable channel.info Note
|
For information about bug-fix releases, check out
|
Hotfixes to the Stable Channel on the Flutter wiki.
|
<topic_end>
|
<topic_start>Breaking changes and migration guides
|
As described in the breaking change policy,
|
on occasion we publish guides
|
for migrating code across a breaking change.To be notified about future breaking changes,
|
join the groups Flutter announce and Dart announce.When facing Dart errors after upgrading Flutter,
|
consider using the dart fix command
|
to automatically migrate your code.
|
Not every breaking change is supported in this way,
|
but many are.To avoid being broken by future versions of Flutter,
|
consider submitting your tests to our test registry.The following guides are available. They are sorted by
|
release, and listed in alphabetical order:<topic_end>
|
<topic_start>
|
Not yet released to stable
|
<topic_end>
|
<topic_start>
|
Released in Flutter 3.19
|
<topic_end>
|
<topic_start>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.