flutter/examples
Greg Spencer 1f5fcb7432
Speed up AnimatedSwitcher. (#17265)
This optimizes the AnimatedSwitcher so that it tags the right widget with its keyed subtree, and avoids rebuilding the transition unnecessarily.

This significantly improves the performance of Chips (which uses AnimatedSwitcher to swap out it's avatar and delete icon children).
2018-05-18 16:27:19 -07:00
..
catalog Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
flutter_gallery Speed up AnimatedSwitcher. (#17265) 2018-05-18 16:27:19 -07:00
flutter_view Rebase after package:isolate fixes. (#17289) 2018-05-10 18:52:33 -07:00
hello_world Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
layers Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
platform_channel Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
platform_channel_swift Bump mockito to 3.0.0-alpha+5 (#17487) 2018-05-11 15:27:15 -07:00
platform_view Modernize Podfile in examples/platform_view (#17643) 2018-05-16 12:49:19 +02:00
stocks Make non-global constants have consistent naming (with just _ instead of _k) (#17584) 2018-05-17 23:04:41 -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.