appState property

AppStateX<StatefulWidget>? get appState

The App State object.

Implementation

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

Implementation

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