maac_mvvm_generator 0.0.4+1 copy "maac_mvvm_generator: ^0.0.4+1" to clipboard
maac_mvvm_generator: ^0.0.4+1 copied to clipboard

Automates maac_mvvm setup by generating extensions with stream data getters for annotated fields.

maac_mvvm_generator #

pub package

A powerful code generator that automates the creation of state getters for MAAC ViewModels, drastically reducing boilerplate code.


🚀 Key Features #

  • Boilerplate Elimination: Automatically generates read-only StreamData getters from mutable private fields.
  • BuildRunner Integration: Seamlessly works with the standard Flutter build pipeline.

📖 Usage #

1. Add dependencies to your pubspec.yaml #

dev_dependencies:
  maac_mvvm_generator: any
  build_runner: any

2. Run the generator #

dart run build_runner build

3. Generated Code Benefit #

The generator will turn your private _field with @Bind() into a public field stream getter in a .g.dart file.


🧭 Documentation #

For detailed API specifications, installation guides, and tutorials, please visit our centralized documentation hub:

👉 MAAC Documentation Hub

Specific Guides: #


🤝 Contributing #

Contributions are welcome! Please visit the main repository for more information.

0
likes
150
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Automates maac_mvvm setup by generating extensions with stream data getters for annotated fields.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, flutter, maac_mvvm, maac_mvvm_annotation, source_gen

More

Packages that depend on maac_mvvm_generator