state property

  1. @override
State get state
override

Obtains the state currently exposed by this provider.

Mutating this property will notify the provider listeners.

Cannot be called while a provider is creating, unless the setter was called first.

Will throw if the provider threw during creation.

Implementation

@override
State get state => requireState;
  1. @override
set state (State newState)
override

Implementation

@override
set state(State newState) => setState(newState);