flutter/examples
Greg Spencer fd9ce27748
Clean up examples, remove section markers and --template args (#91133)
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.

I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.

I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
2021-10-04 12:16:17 -07:00
..
api Clean up examples, remove section markers and --template args (#91133) 2021-10-04 12:16:17 -07:00
flutter_view Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18:05 -07:00
hello_world Clean up dependency pins and update all packages (#91109) 2021-10-04 10:28:03 -07:00
image_list Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18:05 -07:00
layers Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18:05 -07:00
platform_channel Clean up dependency pins and update all packages (#91109) 2021-10-04 10:28:03 -07:00
platform_channel_swift Clean up dependency pins and update all packages (#91109) 2021-10-04 10:28:03 -07:00
platform_view Change project.buildDir in standalone subprojects property (#91030) 2021-10-01 17:18:05 -07:00
splash Add smoke tests for all the examples, fix 17 broken examples. (#89021) 2021-09-28 09:32:06 -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.