flutter/examples/flutter_gallery
Adam Barth ae8994860e Rationalize text input widgets (#9119)
After this patch, there are three major text input widgets:

 * EditableText. This widget is a low-level editing control that
   interacts with the IME and displays a blinking cursor.

 * TextField. This widget is a Material Design text field, with all the
   bells and whistles. It is highly configurable and can be reduced down
   to a fairly simple control by setting its `decoration` property to
   null.

 * TextFormField. This widget is a FormField that wraps a TextField.

This patch also replaces the InputValue data model for these widgets
with a Listenable TextEditingController, which is much more flexible.

Fixes #7031
2017-04-01 17:30:21 -07:00
..
.idea Revert back IntelliJ .iml file to project root (#8139) 2017-02-14 18:15:26 +01:00
android enable windows tests with workaround (#9058) 2017-03-28 14:22:03 -07:00
ios Build Flutter app as a framework on iOS (#8971) 2017-03-22 17:41:49 -07:00
lib Rationalize text input widgets (#9119) 2017-04-01 17:30:21 -07:00
test Bump to Dart SDK 1.23.0-dev.10 (#9051) 2017-03-28 14:53:03 -07:00
test_driver Restrict timeline collection to a subset of demos (#9093) 2017-03-29 19:12:50 -07:00
.gitignore Call it Flutter Gallery (#3801) 2016-05-09 11:00:54 -07:00
BUILD.gn Add a Fuchsia target for the Flutter gallery. (#7619) 2017-01-24 14:03:06 -08:00
flutter_gallery.iml Revert back IntelliJ .iml file to project root (#8139) 2017-02-14 18:15:26 +01:00
pubspec.yaml Merge pubspec.yaml and flutter.yaml. (#7605) 2017-01-24 11:19:31 -08:00
README.md Restore Flutter gallery license page scrolling (#5934) 2016-09-20 15:13:50 -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.

Prereqs

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