AppState constructor

AppState({
  1. required PheasantTemplate component,
  2. List<ChangeWatcher> watchers = const [],
  3. PheasantTemplate? initState,
  4. PheasantTemplate? disposeState,
})

Implementation

AppState(
    {required PheasantTemplate component,
    List<ChangeWatcher> watchers = const [],
    PheasantTemplate? initState,
    PheasantTemplate? disposeState})
    : componentState = StateObject(initValue: component),
      _stateChange = StateChange.empty(),
      super(
          initState: initState,
          component: component,
          watchers: watchers,
          disposeState: disposeState);