ease_annotation 0.1.1 copy "ease_annotation: ^0.1.1" to clipboard
ease_annotation: ^0.1.1 copied to clipboard

Annotations for ease state management helper

Ease Annotation #

Annotation package for Ease State Helper.

Installation #

dependencies:
  ease_annotation: ^0.1.0

Usage #

import 'package:ease_annotation/ease_annotation.dart';
import 'package:ease_state_helper/ease_state_helper.dart';

part 'counter_view_model.ease.dart';

@ease()
class CounterViewModel extends StateNotifier<int> {
  CounterViewModel() : super(0);

  void increment() => state++;
}

Run code generation:

dart run build_runner build

License #

MIT

0
likes
0
points
272
downloads

Publisher

verified publisherwidget-lab.dev

Weekly Downloads

Annotations for ease state management helper

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on ease_annotation