flutter/packages/flutter_tools/templates/plugin
stuartmorgan 0412977e48
Support create for macOS (app and plugin) (#40851)
Adds macOS support for `flutter create`:
- Currently it is behind a hidden flag.
- Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
- Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.

This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).

Fixes #30703
2019-09-19 17:06:18 -07:00
..
.idea Update idea template files (#24311) 2018-11-14 13:45:07 -08:00
android-java.tmpl Update Kotlin and Gradle version (#40181) 2019-09-13 19:37:07 -07:00
android-kotlin.tmpl Update Kotlin and Gradle version (#40181) 2019-09-13 19:37:07 -07:00
android.tmpl Enable R8 (#40453) 2019-09-13 19:06:40 -07: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 Closes #37593 Add flutter_export_environment.sh to gitignore (#37595) 2019-08-06 13:18:41 -07:00
lib Turn Dart 2 mode by default. (#15565) 2018-03-16 20:29:38 +01:00
macos.tmpl Support create for macOS (app and plugin) (#40851) 2019-09-19 17:06:18 -07: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 Support create for macOS (app and plugin) (#40851) 2019-09-19 17:06:18 -07: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.