state property

  1. @override
State get state
override

Implementation

@override
State get state {
  assert(_initialized,
      'loadSavedState() must be called before access to the state value');
  return super.state;
}
  1. @protected
set state (State newState)
inherited

Updates the State and notify to listeners and rebuild the widgets

state must be different of the current state

Implementation

@protected
set state(S newState) {
  _update(newState);
}