A powerful and flexible CLI tool for generating Dart code snippets and templates with ease. Ideal for streamlining repetitive tasks, such as creating UI components, boilerplate code, and more in both Flutter and pure Dart projects.
Add dependency to pubspec.yaml
dev_dependencies:
widget_generator: ^1.0.0
install the dependency Dart
pub get
Flutter
flutter packages get
run generator
dart run widget_generator