maac_mvvm_annotation

pub package

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:

👉 MAAC Documentation Hub

Specific Guides:


🤝 Contributing

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