flutter/examples/flutter_gallery
Chris Bracken d8bfb3a99b
Apply media padding to Gallery Material Design demos (#13593)
Applies media padding (e.g. iPhone X safe area insets) to the Material Design demos in the Gallery.

Covers the following demos:
* Buttons (via the TabbedComponentDemoScaffold change)
* Cards
* Expansion panels
* Grid list
* Icons
* Images (via the TabbedComponentDemoScaffold change)
* Page Selector
* Progress Indicator
* Scrollable tabs
* Selection controls (via the TabbedComponentDemoScaffold change)
* Snack bar
* Tabs
* Text fields
* Tooltips

Fixes #13594
2017-12-15 10:13:30 -08:00
..
android Revert "Refresh template instances (#13563)" (#13565) 2017-12-14 15:38:39 +01:00
ios flutter update-packages (#13571) 2017-12-14 10:07:51 -08:00
lib Apply media padding to Gallery Material Design demos (#13593) 2017-12-15 10:13:30 -08:00
test Make drawer demo header not scroll away (#13337) 2017-12-05 11:58:03 -08:00
test_driver Fix 'Animated images' demo name in Gallery's test. (#13240) 2017-11-28 22:00:17 -08:00
tool add Android instrumentation test (#11063) 2017-07-10 17:20:49 -07:00
BUILD.gn Update location of intl package. (#12644) 2017-10-19 19:36:50 -07:00
pubspec.yaml flutter update-packages (#13571) 2017-12-14 10:07:51 -08:00
README.md Updated stocks example README (#12634) 2017-10-19 16:37:48 -07:00

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