flutter/examples
Bartek Pacia 51251f2e57
Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511)
This PR aims to resolve #121552.

Resources used:
- [Developing Plugins](https://docs.gradle.org/current/userguide/custom_plugins.html)
- [Using Gradle Plugins](https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block)
- [Composite Builds Plugin Development Sample](https://docs.gradle.org/current/samples/sample_composite_builds_plugin_development.html)

This PR also paves way for #121541, because apps will no longer have:

```groovy
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
```

hardcoded. Instead, they'll use:

```groovy
plugins {
    // ...
    id "dev.flutter.flutter-gradle-plugin" // the exact name is tentative
}
```
2023-04-19 17:56:22 +00:00
..
api Adaptive alert dialog (#124336) 2023-04-18 23:00:03 +00:00
flutter_view Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
hello_world Refactor Flutter Gradle Plugin so it can be applied using the declarative plugins {} block (#123511) 2023-04-19 17:56:22 +00:00
image_list Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
layers Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
platform_channel Roll pub packages (#124709) 2023-04-13 20:54:52 +00:00
platform_channel_swift Roll pub packages (#124709) 2023-04-13 20:54:52 +00:00
platform_view Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
splash Update MCU version (#124512) 2023-04-10 16:44:26 +00:00
.clang-format Implement Linux part of examples (#108068) 2022-12-08 08:44:11 +13: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.