ReactiveState extension
Extension on Flutter's State to simplify Reactive usage.
- on
Methods
-
react<
T> (T initial, [bool strict = true]) → Reactive< T> -
Available on State<
Creates a Reactive variable and binds it automatically to this state.StatefulWidget> , provided by the ReactiveState extension -
reactN<
T> ([T? initial, bool strict = true]) → ReactiveN< T> -
Available on State<
StatefulWidget> , provided by the ReactiveState extension -
updateState(
[VoidCallback? callback]) → void -
Available on State<
Calls setState safely only if the state is mounted.StatefulWidget> , provided by the ReactiveState extension