flutter/examples
Greg Spencer 5d0d1b038f
Add Bash and Zsh command-line completion for flutter (#19243)
This uses @kevmoo's completion package to do command line completion for flutter, and a new command "bash-completion" (with alias "zsh-completion") that will output the necessary shell script setup code, and adds the hidden command "completion" that does the actual completion.

Because it adds a dependency, I also had to do flutter update-packages --force-upgrade.

Fixes #18988.
2018-07-13 21:24:36 -07:00
..
catalog Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
flutter_gallery Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
flutter_view Update Android dependencies (#18499) 2018-06-15 14:29:46 +02:00
hello_world Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
layers Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
platform_channel Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
platform_channel_swift Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -07:00
platform_view Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
stocks Add Bash and Zsh command-line completion for flutter (#19243) 2018-07-13 21:24:36 -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.