mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() * make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic * make BuildContext.inheritFromWidgetOfExactType generic * make BuildContext.ancestorInheritedElementForWidgetOfExactType generic * make BuildContext.ancestorWidgetOfExactType generic * fix snippet * bump scoped_model on temp version * update names * Revert "bump scoped_model on temp version" This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0. * address review comments * fix ci * address review comments * repeat the deprecation notice * fix uppercase * use of recommanded deprecation syntax * address review comment |
||
---|---|---|
.. | ||
android | ||
fuchsia/meta | ||
ios | ||
lib | ||
macos | ||
meta | ||
test | ||
test_driver | ||
test_memory | ||
tool | ||
web | ||
analysis_options.yaml | ||
BUILD.gn | ||
pubspec.yaml | ||
README.md |
Flutter gallery
A demo app for Flutter's material design and cupertino widgets, as well as many other features of the Flutter SDK.
Building
You can follow these instructions to build the gallery app and install it onto your device.
Prerequisites
If you are new to Flutter, please first follow the Flutter Setup guide.
Building and installing the Flutter app
cd $FLUTTER_ROOT/examples/flutter_gallery
flutter pub get
flutter run --release
The flutter run --release
command both builds and installs the Flutter app.
Prerelease checklist
- Verify that the About box's license page scrolls and reveals its long long stream of license texts.
Icon
Android launcher icons were generated using Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0.1&foreColor=607d8b%2C0&crop=0&backgroundShape=square&backColor=fafafa%2C100&effects=none