* fix segment hit test behavior (#57461) * Making DropdownButtonFormField to re-render if parent widget changes (#57037) * Update DropdownButtonFormField's state if widget updates Co-authored-by: Shi-Hao Hong <shihaohong@google.com> * throw more specific toolexit when git fails during upgrade (#57162) * [flutter_tools] Refresh VM state before executing hot reload (#53960) * Update engine hash for 1.17.2 * Remove MaterialControls from examples/flutter_view (#57621) Co-authored-by: Jenn Magder <magder@google.com> * Prevent building non-android plugins in build aar (#58018) * Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects (#57701) * Don't import plugins that don't support android in settings.gradle (#54407) Co-authored-by: LongCatIsLooong <31859944+LongCatIsLooong@users.noreply.github.com> Co-authored-by: Pedro Massango <pedromassango.developer@gmail.com> Co-authored-by: Shi-Hao Hong <shihaohong@google.com> Co-authored-by: Christopher Fujino <christopherfujino@gmail.com> Co-authored-by: Jason Simmons <jason-simmons@users.noreply.github.com> Co-authored-by: stuartmorgan <stuartmorgan@google.com> Co-authored-by: Jenn Magder <magder@google.com> Co-authored-by: Emmanuel Garcia <egarciad@google.com>
Samples Catalog
A collection of sample apps that demonstrate how Flutter can be used.
Each sample app is contained in a single .dart file located in the lib
directory. To run each sample app, specify the corresponding file on the
flutter run command line, for example:
flutter run lib/animated_list.dart
flutter run lib/app_bar_bottom.dart
flutter run lib/basic_app_bar.dart
...
The apps are intended to be short and easily understood. Classes that represent the sample's focus are at the top of the file; data and support classes follow.
Each sample app contains a comment (usually at the end) which provides some standard documentation that also appears in the web view of the catalog. See the "Generating..." section below.
Generating the web view of the catalog
Markdown and a screenshot of each app are produced by bin/sample_page.dart
and saved in the .generated directory. The markdown file contains
the text taken from the Sample Catalog comment found in the app's source
file, followed by the source code itself.
This sample_page.dart command line app must be run from the examples/catalog
directory. It relies on templates also found in the bin directory, and it
generates and executes test_driver apps to collect the screenshots:
cd examples/catalog
dart bin/sample_page.dart