state_extended library Get started

The extension of the State class.

dartdoc:

Classes

AppStateX<T extends StatefulWidget> Get started StateX class AppStateX class
The StateX object at the 'app level.' Used to effect the whole app by being the 'root' of first State object instantiated.
ImplNotifyListenersChangeNotifier
Implementing ChangeNotifier
ListenableWidgetBuilder
Creates a widget that rebuilds when the given listenable calls notifyListeners() function
RouteObserverStates
SetState AppStateX class
Used like the function, setState(), to 'spontaneously' call build() functions here and there in your app. Much like the Scoped Model's ScopedModelDescendant() class. This class object will only rebuild if the App's InheritedWidget notifies it as it is a dependency.
StateDependentWidget
Supply a widget from a widget builder and possibly depend on InheritedWidget
StateX<T extends StatefulWidget> Get started StateX class Using FutureBuilder Using InheritedWidget Error handling Testing Event handling
The extension of the State class.
StateXController Get started State Object Controller Testing Event handling
Your 'working' class most concerned with the app's functionality. Add it to a 'StateX' object to associate it with that State object.
StateXInheritedWidget
The InheritedWidget used by StateX
Uuid StateX class State Object Controller
Shamelessly extracted from the author of Scoped Model plugin, Who maybe took from the Flutter source code. I'm not telling!

Mixins

AsyncOps StateX class State Object Controller
Supply the Async API
FutureBuilderStateMixin StateX class Using FutureBuilder
Supply a FutureBuilder to a State object.
ImplNotifyListenersChangeNotifierMixin StateX class State Object Controller
Allows you to use a ChangeNotifier as a Mixin
InheritedWidgetStateMixin StateX class Using InheritedWidget
Supplies an InheritedWidget to a State class
RecordExceptionMixin StateX class Error handling
Record an exception for review by the developer
RootStateMixin StateX class State Object Controller
Supply access to the 'Root' State object.
SetStateMixin State Object Controller
Used by StateXController Allows you to call 'setState' from the 'current' the State object.
StateListener StateX class State Object Controller Event handling
Responsible for the event handling in all the Controllers and State objects.
StateXonErrorMixin StateX class Error handling
Supply an 'error handler' routine if something goes wrong. It need not be implemented, but it's their for your consideration.

Typedefs

MaybeBuildWidgetType = Widget? Function(BuildContext context)