flutter_mediator_simple 1.1.3
flutter_mediator_simple: ^1.1.3 copied to clipboard
A reactive state management package for flutter. Simple, efficient and easy to use.
1.1.3 #
-
Adds a type alias of Rx class as
Signal. Allows you to initialize mediator variables with theSignalannotation.For example,
final _int1 = 0.signal; final _int2 = Signal(0); final _int3 = Signal(0); final _sum = Signal(() => int1 + int2 + int3);
1.1.2 #
-
Upgrade sdk to dart 3.0.0, and use final class.
-
Support mediator variable of type
Function, to use as a computed mediator variable.For example,
final _sum = Rx(() => int1 + int2 + int3 as dynamic); // use `dynamic` if the return type along with the computed function will change get sum => _sum.value; set sum(value) => _sum.value = value;
1.1.1 #
- Minor improvement.
1.0.0 #
- A rework of the flutter mediator package, simple, efficient and easy to use.