bool startAllowStateChanges({bool allow = true}) { final prevValue = _state.allowStateChanges; _state.allowStateChanges = allow; return prevValue; }