state property
Gets the current state.
Implementation
@nonVirtual
T get state => _state;
Sets the state and notify listeners
Implementation
@override
@internal
set state(T value) {
throw UnsupportedError('Not allowed to set state directly');
}