Very Good CLI is an open source Command-Line Interface for Dart which simplifies starting new projects. Very Good CLI offers starter templates for various project formats including generic Flutter apps, Flutter packages, Dart packages, and now, Flutter plugins.
The generated Flutter plugin comes with comprehensive platform support (Windows, Android, iOS, Linux, macOS, web), and each platform has its own dedicated package, unlike the plugin template offered by the Flutter CLI, which wraps all of the platforms under one package. Since a federated plugin architecture is used for Very Good CLI rather than a single-package approach, each package can be developed, maintained, and tested separately. This means that developers don't need familiarity with all of the supported platforms to contribute to the plugin.
To generate a new Flutter plugin with Very Good CLI, just activate the very_good_cli package from pub.dev.
Then, run the create command in a new project directory with the -t flutter_plugin flag.
Now that you have created your plugin, you're ready to start developing!