AppStateX<T extends StatefulWidget> constructor
AppStateX<T extends StatefulWidget> ({})
Optionally supply as many State Controllers as you like to work with this App. Optionally supply a 'data object' to to be accessible to the App's InheritedWidget.
Implementation
AppStateX({
StateXController? controller,
List<StateXController>? controllers,
Object? object,
}) : super(
inheritedBuilder: (child) => _AppInheritedWidget(child: child),
controller: controller,
) {
//Record this as the 'root' State object.
setRootStateX(this);
_dataObj = object;
addList(controllers?.toList());
}