mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
7270f2845d
* Use Xcode build configurations to drive Flutter build mode * Proper check wrt local_engine, print error if profile mode misisng * Remove unused code, update tests, fix template problem, update warning * fix up warning * add explanatory dev comment * fix whitespace * missing words, change lambda arrow to function body * error indentation * Test early exits for xcode_backend.sh * only on macOS, use right test * Update error messages * case insensitive compare for build config * Update gallery podfile * update projects to add profile configuration * make compatible with flavors * add missing plist files |
||
---|---|---|
.. | ||
android | ||
ios | ||
lib | ||
test | ||
test_driver | ||
test_memory | ||
tool | ||
BUILD.gn | ||
pubspec.yaml | ||
README.md |
Flutter gallery
Demo app for the material design widgets and other features provided by Flutter.
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 upgrade
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