flutter/examples
Greg Spencer df791279ab
Fix process running during package creation (#14508)
There were some problems I introduced with the last PR for this. It passed the test, but failed in practice.

This adds tests for those failure cases, adds a "--help" and fixes the test so that it doesn't try and actually download MinGit as part of the Windows test.

I added package:platform as a dependency, so I did a force upgrade on the packages.

Also, re-enabling 'create package' in the cache warming code, now that #14448 is fixed.
2018-02-07 12:21:14 -08:00
..
catalog Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
flutter_gallery Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
flutter_view Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
hello_world Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
layers Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
platform_channel Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
platform_channel_swift Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
platform_view Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08:00
stocks Fix process running during package creation (#14508) 2018-02-07 12:21:14 -08: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.