maac_mvvm_annotation 0.0.3
maac_mvvm_annotation: ^0.0.3 copied to clipboard
Annotation of the maac_mvvm and maac_mvvm_generator
maac_mvvm_annotation #
This package provides the essential annotations (@BindableViewModel, @Bind) that power the MAAC code generation system.
🚀 Key Features #
- Declarative Binding: Mark fields for automatic state exposure.
- Zero Runtime Overhead: All logic is handled at build time.
📖 Usage #
@BindableViewModel()
class MyViewModel extends ViewModel {
@Bind()
late final _count = 0.mtd(this); // Generates count stream getter
void increment() => _count.postValue(_count.data + 1);
}
🧭 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.