state property

  1. @nonVirtual
T state
inherited

Gets the current state.

Implementation

@nonVirtual
T get state => _state;
  1. @override
  2. @internal
void state=(T value)

Sets the state and notify listeners

Implementation

@override
@internal
set state(T value) {
  throw UnsupportedError('Not allowed to set state directly');
}