flutter/examples
Greg Spencer 25ac924e01 Modify the MaterialButton to expand when text is scaled. (#12431)
This modifies the MaterialButton to expand vertically to fit the size of the contained child, no matter what the child widget is. It tries to be as close as possible to the minHeight constraint.

Also updated some doc comments to have headers (extra blank line after first sentence), and to wrap at 80 cols.

Addresses #12311
2017-10-13 16:07:05 -07:00
..
catalog flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
flutter_gallery flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
flutter_view flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
hello_world flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
layers Modify the MaterialButton to expand when text is scaled. (#12431) 2017-10-13 16:07:05 -07:00
platform_channel flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
platform_channel_swift flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
platform_view flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
stocks flutter_localization optional package (#12410) 2017-10-11 16:01:13 -07:00
.gitignore Updated example gitignore files per the flutter create template (#10251) 2017-05-22 10:31:50 -07:00
README.md Make consistent use of gradle wrapper (#10993) 2017-06-29 09:48:01 +02:00

Flutter Examples

This directory contains several examples of using Flutter. Each of these is an individual Dart application package.

To run an example, use flutter run inside that example's directory. See the getting started guide to install the flutter tool.

Tip: To see examples of how to use a specific Flutter framework class, copy and paste a URL with this format in your browser. Replace foo with the classname you are searching for (for example, here's the query for examples of the AppBar class).

https://github.com/flutter/flutter/search?q=path%3Aexamples+new+foo

Available examples include:

Note on Gradle wrapper files in .gitignore:

Gradle wrapper files should normally be checked into source control. The example projects don't do that to avoid having several copies of the wrapper binary in the Flutter repo. Instead, the Gradle wrapper is injected by Flutter tooling, and the wrapper files are .gitignore'd to avoid making the Flutter repository dirty as a side effect of running the examples.