flutter/packages/flutter_tools/templates/plugin
stuartmorgan e8254b2024
Update Android plugin templates for newer AGP (#156533)
Now that Flutter requires AGP 7+, we can use Java 11 as the compatibility version in the plugin template rather than 1.8, avoiding warnings with newer toolchains, and we can remove the check for 'namespace' existing that was only necessary to support AGP 4.1.

See also https://github.com/flutter/packages/pull/7795 which made this change in Flutter-team-owned plugins.

Part of https://github.com/flutter/flutter/issues/156111
2024-10-10 17:18:50 +00:00
..
android-java.tmpl Update Android plugin templates for newer AGP (#156533) 2024-10-10 17:18:50 +00:00
android-kotlin.tmpl Update Android plugin templates for newer AGP (#156533) 2024-10-10 17:18:50 +00:00
android.tmpl Remove files that are unnecessary in a plugin (#89445) 2021-09-07 11:11:05 -07:00
ios-objc.tmpl Add PrivacyInfo.xcprivacy to plugin template (#148485) 2024-05-16 19:58:11 +00:00
ios-swift.tmpl Add PrivacyInfo.xcprivacy to plugin template (#148485) 2024-05-16 19:58:11 +00:00
ios.tmpl Add create app and plugin templates for Swift Package Manager (#147082) 2024-04-24 22:46:20 +00:00
lib Switch to more reliable flutter.dev link destinations in the tool (#150587) 2024-06-26 23:30:39 +00:00
linux.tmpl Fix typos (#121171) 2023-02-23 19:43:21 +00:00
test Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
windows.tmpl Opt into CMake policy CMP0135 (#125502) 2023-04-28 17:49:54 -04:00
README.md.tmpl Switch to more reliable flutter.dev link destinations in the tool (#150587) 2024-06-26 23:30:39 +00:00

# {{projectName}}

{{description}}

## Getting Started

This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/to/develop-plugins),
a specialized package that includes platform-specific implementation code for
Android and/or iOS.

For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

{{#no_platforms}}
The plugin project was generated without specifying the `--platforms` flag, no platforms are currently supported.
To add platforms, run `flutter create -t plugin --platforms <platforms> .` in this directory.
You can also find a detailed instruction on how to add platforms in the `pubspec.yaml` at https://flutter.dev/to/pubspec-plugin-platforms.
{{/no_platforms}}