flutter/examples/flutter_gallery
Greg Spencer bb3c660522
Implements focus handling and hover for Material buttons. (#31438)
This implements focus and hover handling for Material buttons. It inserts Focus widgets into the tree in order to allow buttons to be focusable via keyboard traversal (a.k.a. TAB traversal), and Listener widgets into the InkWell to allow the detection of hover states for widgets.

Addresses #11344, #1608, and #13264.
2019-05-14 20:48:29 -07:00
..
android Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00
ios Fix gallery deploy on iOS (#22810) 2019-04-05 18:55:33 -07:00
lib Implements focus handling and hover for Material buttons. (#31438) 2019-05-14 20:48:29 -07:00
meta [scenic] Remove dead view_manager ref (#31005) 2019-04-15 19:33:18 -07:00
test Fix refresh control in the gallery demo, update comments (#30129) 2019-04-25 20:49:47 -07:00
test_driver Revert "Remove package:test dependency from flutter_test (#23755)" (#24004) 2018-11-06 09:12:48 -08:00
test_memory fix some formatting issues (#28809) 2019-03-06 09:37:32 +01: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 Bump multicast_dns version 2019-05-06 11:14:41 -07:00
README.md Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07: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 packages 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