text
stringlengths
1
372
unit tests for your own applications or libraries that we run
on every change to help us track changes that would break
existing applications. our commitment is that we won’t make any
changes that break these tests without working with the developers of
those tests to (a) determine if the change is sufficiently valuable,
and (b) provide fixes for the code so that the tests continue to pass.
if you would like to provide tests as part of this program, please
submit a PR to the flutter/tests repository.
the README on that repository describes
the process in detail.
<topic_end>
<topic_start>
announcements and migration guides
if we do make a breaking change (defined as a change that caused one
or more of these submitted tests to require changes), we will announce
the change on our flutter-announce
mailing list as well as in our release notes.
we provide a list of guides for migrating code affected by
breaking changes.
<topic_end>
<topic_start>
deprecation policy
we will, on occasion, deprecate certain APIs rather than outright
break them overnight. this is independent of our compatibility policy
which is exclusively based on whether submitted tests fail, as
described above.
deprecated APIs are removed after a migration grace period. this grace
period is one calendar year after being released on the stable channel,
or after 4 stable releases, whichever is longer.
when a deprecation does reach end of life, we follow the same procedures
listed above for making breaking changes in removing the deprecated API.
<topic_end>
<topic_start>
dart and other libraries used by flutter
the dart language itself has a separate breaking-change policy,
with announcements on dart announce.
in general, the flutter team doesn’t currently have any commitment
regarding breaking changes for other dependencies.
for example, it’s possible that a new version of
flutter using a new version of skia
(the graphics engine used by some platforms on flutter)
or harfbuzz (the font shaping engine used by flutter)
would have changes that affect contributed tests.
such changes wouldn’t necessarily be accompanied by a
migration guide.
<topic_end>
<topic_start>
codelabs
the flutter codelabs provide a guided,
hands-on coding experience. some codelabs
run in DartPad—no downloads required!
<topic_end>
<topic_start>
good for beginners
if you’re new to flutter, we recommend starting with
one of the following codelabs:
building your first flutter app (workshop)
an instructor-led version of our very popular
“write your first flutter app” codelab
(listed below).
your first flutter app
create a simple app that automatically generates cool-sounding names,
such as “newstay”, “lightstream”, “mainbrake”, or “graypine”.
this app is responsive and runs on mobile, desktop, and web.
(this also replaces the previous “write your first flutter app”
for mobile, part 1 and part 2 codelabs.)
write your first flutter app on the web
implement a simple web app in DartPad (no downloads
required!) that displays a sign-in screen
containing three text fields. as the user fills out the
fields, a progress bar animates along the top of the
sign-in area. this codelab is written specifically for
the web, but if you have downloaded and configured
android and iOS tooling, the completed app
works on android and iOS devices, as well.
<topic_end>
<topic_start>
next steps
records and patterns in dart 3
discover dart 3’s new records and patterns features.
learn how you can use them in a flutter app to help you
write more readable and maintainable dart code.
building scrolling experiences in flutter (workshop)
start with an app that performs simple, straightforward scrolling
and enhance it to create fancy and custom scrolling effects
by using slivers.
dart null safety in action (workshop)
an instructor-led workshop introducing the features
that enable dart’s null-safe type system.
how to manage application states using inherited widgets (workshop)
learn how to manage the state of your app’s data by
using the InheritedWidget class, one of the
low-level state management classes provided
by flutter.
<topic_end>
<topic_start>
designing a flutter UI
learn about material design and basic flutter concepts,
like layout and animations:
how to debug layout issues with the flutter inspector