
* Revert "Enable dart_plugin_registry_test (#76645)" This reverts commit 109e0bb9f55ed6e9884547843356d16897eaf6a9. * Revert "Apply changes caused by https://github.com/flutter/flutter/pull/76662 (#77093)" This reverts commit cdca6485f05287bb12b1acebbbae2ba107d6c1be. * Revert "Disable clang format in the plugin registrants (#76662)" This reverts commit dadbd47d097f5cce868832fa8b4d03439a5c8402. * Revert "Disable warnings for the dart plugin registrant (#76561)" This reverts commit 098ece522d41f25370d19f5ec09d93ce2e727019. * Revert "Remove dart_plugin_registry_test timeouts (#76838)" This reverts commit 1610a2747654dec3cabbd1d81d0bc5885b2067a2. * Revert "Implement dartPluginClass support for plugins (#74469)" This reverts commit b7d4806243a4e906bf061f79a0e314ba28111aa6. Kick.
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:
-
Hello, world The hello world app is a minimal Flutter app that shows the text "hello, world."
-
Flutter gallery The flutter gallery app no longer lives in this repo. Please see the gallery repo.
-
Layers The layers vignettes show how to use the various layers in the Flutter framework. For details, see the layers README.
-
Platform Channel The platform channel app demonstrates how to connect a Flutter app to platform-specific APIs. For documentation, see https://flutter.dev/platform-channels/.
-
Platform Channel Swift The platform channel swift app is the same as platform channel but the iOS version is in Swift and there is no Android version.
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.