flutter/examples
Greg Spencer ce1509714c
Re-land keyboard traversal PRs (#42278)
This attempts to reland #40186 and #41220, that were reverted in #41945.

The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed.

I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...)

Fixes #40101
2019-10-10 13:49:33 -07:00
..
catalog Updates packages (#41936) 2019-10-07 09:46:57 -07:00
flutter_gallery Re-land keyboard traversal PRs (#42278) 2019-10-10 13:49:33 -07:00
flutter_view Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
hello_world Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
image_list Update image_list example to use https instead of http (#39124) 2019-09-25 15:12:51 -07:00
layers Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
platform_channel Updates packages (#41936) 2019-10-07 09:46:57 -07:00
platform_channel_swift Updates packages (#41936) 2019-10-07 09:46:57 -07:00
platform_view Migrate examples and tests to AndroidX (#41251) 2019-09-25 09:02:15 -07:00
stocks Updates packages (#41936) 2019-10-07 09:46:57 -07:00
README.md Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00

Flutter Examples

This directory contains several examples of using Flutter. To run an example, use flutter run inside that example's directory. See the getting started guide to install the flutter tool.

For additional samples, see the flutter/samples repo.

Available examples include:

Notes

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.