state property Null safety

ControllerState state

Implementation

ControllerState get state => _state;
void state=(ControllerState s)

Implementation

set state(ControllerState s) {
  _state = s;
  s.onChangedTo();
}