maac_mvvm_annotation

The maac_mvvm_annotation package is part of the maac_mvvm. This annotation package is the backbone of the maac_mvvm, providing annotations that help reduce boiterlplate code by generator code extension.

MAAC_MVVM_ANNOTATION


Features

  • @BindableViewModel: Annotate classes as ViewModels, signifying their role in managing the UI's state and logic and containt fields annotated with @Bind.
  • @Bind: This annotation is signals that the field should be automatically bound to a corresponding property in the that is annotated with @BindableViewModel.

Getting Started 🏁

Prerequisites

Before you begin, ensure that you have Flutter SDK installed in your development environment.

Installation

Add maac_mvvm_annotation to your pubspec.yaml file:

Usage

add the import statement to your file:

import 'package:maac_mvvm_annotation/maac_mvvm_annotation.dart';