flutter/examples
chunhtai a36ff80cf6
Refactors page API (#137792)
fixes https://github.com/flutter/flutter/issues/137458

Chagnes:
1. Navigator.pop will always pop page based route
2. add a onDidRemovePage callback to replace onPopPage
3. Page.canPop and Page.onPopInvoked mirrors the PopScope, but in Page class.

migration guide https://github.com/flutter/website/pull/10523
2024-05-13 22:45:51 +00:00
..
api Refactors page API (#137792) 2024-05-13 22:45:51 +00:00
flutter_view [macOS] Migrate @NSApplicationMain attribute to @main (#146848) 2024-04-18 03:08:36 +00:00
hello_world Don't pin package:macros (#148087) 2024-05-09 16:28:49 -07:00
image_list Unpin DDS and roll pub packages (#147925) 2024-05-08 10:35:28 +01:00
layers Unpin DDS and roll pub packages (#147925) 2024-05-08 10:35:28 +01:00
platform_channel Don't pin package:macros (#148087) 2024-05-09 16:28:49 -07:00
platform_channel_swift Don't pin package:macros (#148087) 2024-05-09 16:28:49 -07:00
platform_view Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00:00
splash Unpin DDS and roll pub packages (#147925) 2024-05-08 10:35:28 +01:00
texture Don't pin package:macros (#148087) 2024-05-09 16:28:49 -07:00
.clang-format Implement Linux part of examples (#108068) 2022-12-08 08:44:11 +13:00
flutter_gallery.readme
README.md Fix typo in README.md (#126053) 2023-05-04 14:58:17 +02: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.