flutter/examples/flutter_gallery
Greg Spencer 6c56bb2420
Update typedef syntax to use Function notation and turn on lint for old notation. (#18362)
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.

Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.

No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
2018-06-11 15:51:45 -07:00
..
android Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
ios Update the xcode project of flutter_gallery (#17630) 2018-05-15 15:53:56 -07:00
lib Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) 2018-06-11 15:51:45 -07:00
test enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
test_driver Added GalleryApp testMode (#17640) 2018-05-16 11:42:39 -07:00
tool add Android instrumentation test (#11063) 2017-07-10 17:20:49 -07:00
BUILD.gn Cleanup FLX related code (#16416) 2018-04-12 10:12:26 +02:00
pubspec.yaml Update gallery assets version with optipng (#18327) 2018-06-11 11:30:19 -07: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