tree: 2f8037e786d46094daf98a4a2f1ef6f93735f384 [path history] [tgz]
  1. catalog/
  2. flutter_gallery/
  3. flutter_view/
  4. hello_world/
  5. layers/
  6. platform_channel/
  7. platform_channel_swift/
  8. platform_view/
  9. stocks/
  10. .gitignore
  11. README.md
examples/README.md

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.