flutter/packages/flutter_tools/templates/plugin
Greg Spencer 9f23866a0a
Rename module --> application in flutter create command. (#22565)
This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.

flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.

I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.

Fixes #22530
Fixes #22344
2018-10-04 13:03:20 -07:00
..
.idea update the IntelliJ metadata templates (#14867) 2018-02-26 07:38:22 -08:00
android-java.tmpl Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
android-kotlin.tmpl Upgradle Gradle dependencies to match Android Studio 3.1.2 (#18080) 2018-06-01 09:57:40 +02:00
android.tmpl Fix Android templates (#13681) 2017-12-20 10:50:40 +01:00
ios-objc.tmpl/Classes Add Swift and Kotlin templates (#10259) 2017-05-24 08:22:50 +02:00
ios-swift.tmpl/Classes Animation API improvements (#21540) 2018-09-23 00:43:05 -07:00
ios.tmpl Animation API improvements (#21540) 2018-09-23 00:43:05 -07:00
lib Turn Dart 2 mode by default. (#15565) 2018-03-16 20:29:38 +01:00
.gitignore.tmpl Update template .gitignore rules (#15382) 2018-04-09 15:02:24 -07: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_android.iml.tmpl update intellij metadata in template files (#16211) 2018-04-04 09:36:34 -07:00
projectName.iml.tmpl update intellij metadata in template files (#16211) 2018-04-04 09:36:34 -07:00
pubspec.yaml.tmpl Reland "Roll engine to version e3687f70c7ece72000b32ee1b3c02755ba5361ac (#20427)" (#20633) 2018-08-15 15:35:12 -07:00
README.md.tmpl Fix outdated link for how to edit plugin code (#18069) 2018-06-13 13:40:55 -07:00

# {{projectName}}

{{description}}

## Getting Started

For help getting started with Flutter, view our online
[documentation](https://flutter.io/).

For help on editing plugin code, view the [documentation](https://flutter.io/developing-packages/#edit-plugin-package).