HelloPluginWindows

pluginClass

HelloPlugin

The Dart HelloPluginWindows class would use the registerWith()
shown above for Dart-only implementations, while the C++ HelloPlugin
class would be the same as in a C++-only implementation.

Testing your plugin

We encourage you test your plugin with automated tests
to ensure that functionality doesn’t regress
as you make changes to your code.

To learn more about testing your plugins,
check out Testing plugins.
If you are writing tests for your Flutter app
and plugins are causing crashes,
check out Flutter in plugin tests.

Developing FFI plugin packages

If you want to develop a package that calls into native APIs using
Dart’s FFI, you need to develop an FFI plugin package.