rxget_annotation 0.0.1
rxget_annotation: ^0.0.1 copied to clipboard
Annotations for rxget code generation. Use with rxget_generator to eliminate GetxState boilerplate.
rxget_annotation #
Annotations for the rxget state management package. Use with rxget_generator to eliminate GetxState boilerplate.
Usage #
Use the @getxState annotation on a class to define your reactive state schema:
import 'package:rxget_annotation/rxget_annotation.dart';
@getxState
class CounterState {
CounterState({
this.count = 0,
@update this.isEditing = false,
});
int count;
bool isEditing;
}