flutter/examples/flutter_gallery
Greg Spencer 245d1b51ce
Add macOS to TargetPlatform (#43457)
This PR adds TargetPlatform.macOS to the TargetPlatform enum. This allows us to begin implementation of some adaptive UI based on which target platform is desired.

I haven't updated the tests here, that will come in a follow-up PR.
2019-11-26 18:32:34 -08:00
..
android Updated flutter/examples to further conform to new embedding: removed references to FlutterApplication, deleted all MainActivity's that were not necessary, removed all direct invocations of GeneratedPluginRegistrant. (#22529) (#44782) 2019-11-14 04:08:28 +00:00
fuchsia/meta [flutter_tool] Various fixes for 'run' for Fuchisa. (#44920) 2019-11-14 12:39:48 -08:00
ios Enable iOS platform views for Flutter Gallery (#45126) 2019-11-18 16:13:52 -08:00
lib Add macOS to TargetPlatform (#43457) 2019-11-26 18:32:34 -08:00
macos Add minimum macOS application to Flutter Gallery (#45259) 2019-11-20 09:44:17 -08:00
meta [scenic] Remove dead view_manager ref (#31005) 2019-04-15 19:33:18 -07:00
test Update package test (#44882) 2019-11-14 09:31:36 -08: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 Revert "Add the rally_assets package to Gallery's BUILD.gn (#45180)" (#45353) 2019-11-21 12:48:19 -08:00
pubspec.yaml Revert "[Gallery] Add Material Study app Rally as an example app (#44907)" (#45279) 2019-11-20 12:18:44 -08: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