flutter/examples/flutter_gallery
Greg Spencer ce1509714c
Re-land keyboard traversal PRs (#42278)
This attempts to reland #40186 and #41220, that were reverted in #41945.

The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed.

I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...)

Fixes #40101
2019-10-10 13:49:33 -07:00
..
android Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
ios Revert "Build flutter_gallery with bitcode (#39851)" (#39912) 2019-09-05 11:02:20 -07:00
lib add missing trailing commas (in examples/) (#40701) 2019-09-18 20:48:07 +02:00
meta [scenic] Remove dead view_manager ref (#31005) 2019-04-15 19:33:18 -07:00
test Re-land keyboard traversal PRs (#42278) 2019-10-10 13:49:33 -07:00
test_driver Wait for first frame in driver tests (#40617) 2019-09-18 10:25:14 -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 Updates packages (#41936) 2019-10-07 09:46:57 -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