flutter/examples/flutter_gallery
liyuqian e77237d6d3
Reland "Fix the first frame logic in tracing and driver (#35297)" (#37192)
This relands https://github.com/flutter/flutter/pull/35297

The followings have been done to fix the broken tests:
  1. Add `didSendFirstFrameRasterizedEvent` extension and its tests
  2. Wait for `didSendFirstFrameRasterizedEvent` instead of
     `didSendFirstFrameEvent` during start up tests
  3. Mark missed (probably newly added) start up tests as flaky
2019-07-31 11:01:52 -07:00
..
android [ImgBot] Optimize images (#35971) 2019-07-11 21:16:48 -07:00
ios [ImgBot] Optimize images (#35971) 2019-07-11 21:16:48 -07:00
lib Added ThemeMode support to the Flutter Gallery (#36399) 2019-07-22 11:06:26 -07:00
meta [scenic] Remove dead view_manager ref (#31005) 2019-04-15 19:33:18 -07:00
test Added ThemeMode support to the Flutter Gallery (#36399) 2019-07-22 11:06:26 -07:00
test_driver Reland "Fix the first frame logic in tracing and driver (#35297)" (#37192) 2019-07-31 11:01:52 -07:00
test_memory Added a benchmark for ImageCache (#33814) 2019-06-04 12:32:52 -07:00
tool add Android instrumentation test (#11063) 2017-07-10 17:20:49 -07:00
web Allow flutter web to be compiled with flutter (#32360) 2019-05-09 08:57:26 -07:00
analysis_options.yaml add an analysis_options excludes for the build/ dir (#23653) 2018-11-06 07:59:33 -08:00
BUILD.gn [fuchsia] Fix flutter_gallery BUILD.gn (#26015) 2019-01-03 09:15:53 -08:00
pubspec.yaml Added demo projects for splash screen support on Android. (#35728) 2019-07-24 13:44:13 -07:00
README.md Rename flutter packages to flutter pub (#33041) 2019-05-21 16:38:58 +02:00

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