state property

  1. @nonVirtual
void state
inherited

Gets the current state.

Implementation

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

Sets the state and notify listeners

Implementation

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