Generate Flutter plugins with Very Good CLI

Use Very Good CLI to generate a new federated plugin in seconds

Dennis Angelov
Dennis Angelov
Marcos Sevilla
Marcos Sevilla
Dennis Angelov
August 31, 2021
3min
News
Generate Flutter plugins with Very Good CLI

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.

Getting Started

To generate a new Flutter plugin with Very Good CLI, just activate the very_good_cli package from pub.dev.


dart pub global activate very_good_cli

Then, run the create command in a new project directory with the -t flutter_plugin flag.


very_good create my_plugin -t flutter_plugin
✓ Generated 105 file(s) (0.3ms)
✓ Running "flutter packages get" in my_plugin (8.1ms)


Created a Very Good Flutter plugin! 🦄

Now that you have created your plugin, you're ready to start developing!

Happy coding!

Check out Very Good Core, our open source Flutter starter application with VGV-opinionated architecture.

Name of the heading

Category
Best Practices
Open Source
Share

Insights from Our Experts

View All Insights
Flutter Development FAQs: Everything You Need to Know Before Building with Flutter

Flutter Development FAQs: Everything You Need to Know Before Building with Flutter

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

VGV Team
VGV Team
January 16, 2026
Flutter Development FAQs: Everything You Need to Know Before Building with Flutter
What Is GenUI? How Generative User Interfaces Will Redefine Hospitality In 2026

What Is GenUI? How Generative User Interfaces Will Redefine Hospitality In 2026

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

VGV Team
VGV Team
January 9, 2026
What Is GenUI? How Generative User Interfaces Will Redefine Hospitality In 2026
Today’s Engineering & Product Leadership: 5 Lessons From Build to Succeed

Today’s Engineering & Product Leadership: 5 Lessons From Build to Succeed

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

VGV Team
VGV Team
January 8, 2026
Today’s Engineering & Product Leadership: 5 Lessons From Build to Succeed