flutter/examples
Greg Spencer efe76a5373
Update key examples to use Focus widgets instead of RawKeyboardListener (#101537)
This updates the examples for PhysicalKeyboardKey and LogicalKeyboardKey to use Focus widgets that handle the keys instead of using RawKeyboardListener, since that usually leads people down the wrong path. Updated the See Also and added tests as well. Also exposed the `physicalKey` attribute for `tester.sendKeyEvent`.
2022-04-08 12:05:41 -07:00
..
api Update key examples to use Focus widgets instead of RawKeyboardListener (#101537) 2022-04-08 12:05:41 -07:00
flutter_view Run CADisableMinimumFrameDurationOnPhone migration on all example apps (#101314) 2022-04-05 15:38:06 -07:00
hello_world Run update-packages (#101450) 2022-04-07 17:07:05 -07:00
image_list Run update-packages (#101450) 2022-04-07 17:07:05 -07:00
layers Run update-packages (#101450) 2022-04-07 17:07:05 -07:00
platform_channel Run update-packages (#101450) 2022-04-07 17:07:05 -07:00
platform_channel_swift Run update-packages (#101450) 2022-04-07 17:07:05 -07:00
platform_view Run CADisableMinimumFrameDurationOnPhone migration on all example apps (#101314) 2022-04-05 15:38:06 -07:00
splash Run update-packages (#101450) 2022-04-07 17:07:05 -07:00
flutter_gallery.readme Move flutter_gallery to the testing folder (#52532) 2020-03-16 10:31:42 +01:00
README.md Move flutter_gallery to the testing folder (#52532) 2020-03-16 10:31:42 +01: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.