state property

  1. @override
StateT get state
override

The current "state" of this StateNotifier.

Updating this variable will synchronously call all the listeners. Notifying the listeners is O(N) with N the number of listeners.

Updating the state will throw if at least one listener throws.

Implementation

@override
StateT get state => super.state;
  1. @override
set state (StateT value)
override

Implementation

@override
set state(StateT value) => super.state = value;