flutter/packages/flutter_tools/templates/plugin
Jackson Gardner 31209d04ff
flutter test --wasm support (#145347)
* Adds support for `flutter test --wasm`.
  * The test compilation flow is a bit different now, so that it supports compilers other than DDC. Specifically, when we run a set of unit tests, we generate a "switchboard" main function that imports each unit test and runs the main function for a specific one based off of a value set by the JS bootstrapping code. This way, there is one compile step and the same compile output is invoked for each unit test file.
* Also, removes all references to `dart:html` from flutter/flutter.
* Adds CI steps for running the framework unit tests with dart2wasm+skwasm
  * These steps are marked as `bringup: true`, so we don't know what kind of failures they will result in. Any failures they have will not block the tree at all yet while we're still in `bringup: true`. Once this PR is merged, I plan on looking at any failures and either fixing them or disabling them so we can get these CI steps running on presubmit.

This fixes https://github.com/flutter/flutter/issues/126692
2024-03-21 20:08:07 +00:00
..
android-java.tmpl Android Gradle file templates: make it easier to convert them to Kotlin DSL in the future (#142146) 2024-02-15 23:42:13 +00:00
android-kotlin.tmpl Android Gradle file templates: make it easier to convert them to Kotlin DSL in the future (#142146) 2024-02-15 23:42:13 +00: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 iOS version to 12.0 (#143167) 2024-02-09 18:32:10 +00:00
ios-swift.tmpl Set plugin template minimum iOS version to 12.0 (#143167) 2024-02-09 18:32:10 +00:00
ios.tmpl Added newline at end of .gitignore files (#141270) 2024-01-12 23:22:11 +00:00
lib flutter test --wasm support (#145347) 2024-03-21 20:08:07 +00:00
linux.tmpl Fix typos (#121171) 2023-02-23 19:43:21 +00:00
macos.tmpl/Classes FFI plugins (#96225) 2022-01-26 23:44:45 +01: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 [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}}