appState property

AppState<StatefulWidget>? get appState

The App State object.

Implementation

// Not yet gp  @Deprecated('Should not be an exposed property')
v.AppState? get appState => _appState;
set appState (AppState<StatefulWidget>? state)

Implementation

set appState(v.AppState? state) {
  if (state != null && (_appState == null || hotReload)) {
    _appState = state;
    state.app = this;
  }
}