maac_mvvm_generator 0.0.4+1
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 #
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
StreamDatagetters 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:
Specific Guides: #
🤝 Contributing #
Contributions are welcome! Please visit the main repository for more information.