
...by adding tests to our examples that don't import flutter_test, which pins the relevant dependencies. Also, provide more information when complaining about leaked transient callbacks in tests. Also, make tests display full information when they have an exception, by bypassing the throttling we have for Android logging in tests. Also, make the word wrapping not wrap stack traces if they happen to be included in exception output. Also, fix a leaked transient callback in the checkbox code.
Flutter Examples
This directory contains several examples of using Flutter. Each of these is an individual Dart application package.
To run a sample with the flutter
tool, run pub get
inside its directory,
then run flutter run
. (See the
getting started guide to install
the flutter
tool.)
Available examples include:
-
Hello, world The hello world app is a basic app that shows the text "hello, world."
-
Stocks The stocks app is an example of a typical mobile app built using Flutter. The app shows a list of all the stocks in the NASDAQ.
-
Widgets The widget apps demonstrate a number of Flutter widgets so you can experiment with them in a simple container. There is no main.dart in this directory because each file is a standalone sample. To run a particular file, use
flutter run -t filename.dart
.