flutter/packages/flutter_tools/templates/plugin
stuartmorgan 8d8439f8e3
Add pre-stable support for create on Linux (#51832)
Adds initial support for `flutter create` of apps and plugins. This is derived from the current FDE example app and sample plugin, with a few changes:
- Added template values where it makes sense.
- Moved some likely-to-change values into separate files for now, to simplify the delete/recreate cycle that will be necessary until it's stable.
- Added some minor Makefile flag handling improvements

Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the `create` output about the fact that it won't be stable.
2020-03-03 22:42:52 +01:00
..
.idea Update idea template files (#24311) 2018-11-14 13:45:07 -08:00
android-java.tmpl Reduce gradle deps (#50691) 2020-02-12 21:14:54 -08:00
android-kotlin.tmpl Reduce gradle deps (#50691) 2020-02-12 21:14:54 -08:00
android.tmpl more gradle upgrades (#50388) 2020-02-10 14:16:49 -08:00
ios-objc.tmpl Add swift_versions to plugin template podspec, include default CocoaPod version (#44324) 2019-11-08 18:00:01 -08:00
ios-swift.tmpl Add swift_versions to plugin template podspec, include default CocoaPod version (#44324) 2019-11-08 18:00:01 -08:00
ios.tmpl Add swift_versions to plugin template podspec, include default CocoaPod version (#44324) 2019-11-08 18:00:01 -08:00
lib Turn Dart 2 mode by default. (#15565) 2018-03-16 20:29:38 +01:00
linux.tmpl Add pre-stable support for create on Linux (#51832) 2020-03-03 22:42:52 +01:00
macos.tmpl Add swift_versions to plugin template podspec, include default CocoaPod version (#44324) 2019-11-08 18:00:01 -08:00
test Fix plugin template app's tests (#39080) 2019-08-26 14:57:16 -07:00
.gitignore.tmpl Do not ignore pubspec.lock in project templates (#24209) 2019-01-09 10:10:38 -08:00
.metadata.tmpl Rename module --> application in flutter create command. (#22565) 2018-10-04 13:03:20 -07:00
CHANGELOG.md.tmpl Update plugin template to comply with new type and style rules (#17840) 2018-05-24 08:49:17 +02:00
LICENSE.tmpl Add --template=<type> option to create command. (#11105) 2017-08-23 13:29:31 +02:00
projectName.iml.tmpl update intellij metadata in template files (#16211) 2018-04-04 09:36:34 -07:00
pubspec.yaml.tmpl Add pre-stable support for create on Linux (#51832) 2020-03-03 22:42:52 +01:00
README.md.tmpl Replace flutter.io with flutter.dev (#30562) 2019-04-05 11:39:30 -07:00

# {{projectName}}

{{description}}

## Getting Started

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

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