flutter/packages/flutter_tools/templates/plugin
stuartmorgan e3c51a2f2a
Add Windows unit tests to plugin template (#118638)
* Add Windows unit tests to plugin template

Adds an example native unit test to the plugin template for Windows,
matching the format we use for our 1P plugin example app unit tests.
Once these have been added for all platforms+languages, they will be
documented on a new plugin development page to explain their use.

Since we don't appear to be running our current plugin e2e tests for
Windows, this adds a new configuration to run them. I haven't
`led`-tested this, so it may not work, but this will give a starting
point for getting them running.

Part of https://github.com/flutter/flutter/issues/82458

* Minor fix

* Add test owner

* Fix typo

* Fix test feature flag
2023-01-24 18:23:57 +00:00
..
android-java.tmpl Specify Kotlin version in modules and refactor (#101315) 2022-04-07 13:20:33 -07:00
android-kotlin.tmpl Remove extraneous org.jetbrains.kotlin:kotlin-stdlib-jdk7 gradle dep (#104028) 2022-05-18 17:52:13 -07:00
android.tmpl Remove files that are unnecessary in a plugin (#89445) 2021-09-07 11:11:05 -07:00
ios-objc.tmpl Set plugin template minimum Flutter SDK to 2.5 (#89695) 2021-09-09 20:42:03 -07:00
ios-swift.tmpl Add native unit tests to iOS and macOS templates (#117147) 2022-12-21 19:10:22 +00:00
ios.tmpl
lib Remove trailing spaces in repo (#101191) 2022-04-15 14:06:30 +02:00
linux.tmpl Document template CMake files (#96534) 2022-01-14 14:55:14 -08:00
macos.tmpl/Classes FFI plugins (#96225) 2022-01-26 23:44:45 +01:00
test Remove trailing spaces in repo (#101191) 2022-04-15 14:06:30 +02:00
windows.tmpl Add Windows unit tests to plugin template (#118638) 2023-01-24 18:23:57 +00:00
README.md.tmpl [flutter_tools] Use proper project name in templates (#96373) 2022-02-02 06:50:14 -08: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 development, view the
[online documentation](https://flutter.dev/docs), 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/docs/development/packages-and-plugins/developing-packages#plugin-platforms.
{{/no_platforms}}