states_rebuilder library Null safety

Classes

Animate
Object exposed by the builder method of the OnAnimationBuilder. It is used to set tweens explicitly or implicitly.
Child
Use Child in combination of other widget listeners, to control the part of the widget tree to rebuild. See also Child2 and Child3
Child2
Child3
DependsOn<T>
Setting the Injected models dependencies.
IAuth<T, P>
Interface to implement for authentication and authorization
ICRUD<T, P>
Interface to implement to query a rest API or database for Create, Read, Update, and Delete of Items-Item.
IN
Inject<T>
Base class for Inject
Injectable
Injected<T>
A Wrapper class that encloses the state of the model we want to Inject. The state can be mutable or immutable and can also be global or local.
InjectedAnimation
Inject an animation. It works for both implicit and explicit animation.
InjectedAuth<T, P>
Injection of a state that can authenticate and authorize a user.
InjectedCRUD<T, P>
Injection of a state that can create, read, update and delete from a backend or database service.
InjectedForm
Inject a form that controls all TextField and OnFormFieldBuilder instantiated inside its builder method.
InjectedFormField<T>
Inject form inputs other than for text editing
InjectedI18N<I18N>
Used to manage app localization and internationalization
InjectedNavigator
Injecting a Navigator 2 that holds a RouteData state.
InjectedScrolling
This injected state abstracts the best practices to come out with a simple, clean, and testable approach to control Scrollable view.
InjectedTabPageView
Inject a TabController and PageController and sync them to work together to get the most benefit of them.
InjectedTextEditing
Inject a TextEditingController
InjectedTheme<KEY>
Injection of a state that handle app theme switching.
Injector
A widget used to provide a business logic model to the widget tree, and make one instance of the model available to all its children.
IPersistStore
PersistStore Interface to implementation.
MaterialPageArgument
OnAnimationBuilder
Widget used to listen to an InjectedAnimation and call its builder each time the animation ticks.
OnAuthBuilder<T, P>
Listen to an InjectedAuth and define the appropriate view for each case
OnBuilder<T>
Explicitly listenTo one or more injected state and reinvoke its onBuilder callback each time an injected state emits a notification.
OnCRUDBuilder
To listen to an InjectedCRUD state just use ReactiveStatelessWidget, OnReactive, or OnBuilder widgets.
OnCRUDSideEffects
Class for CRUD side effects
OnFormBuilder
Build a form from its child fields
OnFormFieldBuilder<T>
Listen to an InjectedFormField and define its corresponding input fields
OnFormSubmissionBuilder
Listen to a InjectedForm and rebuild depending on Form submission state
OnNavigateBackScope
Creates a widget that registers a callback to veto attempts by the user to navigate back.
OnReactive
First choice widget to listen to an injected state.
OnScroll<T>
Listen to an InjectedScrolling
OnScrollBuilder
Listen to an InjectedScrolling state.
OnTabPageViewBuilder
Listen to InjectedTabPageView.
PageSettings
Data that might be useful in constructing a Page. It extends RouteSettings
PersistState<T>
State persistence setting.
ReactiveModel<T>
A lightweight version of Injected
ReactiveStatelessWidget
Use it instead of StatelessWidget to make the hole sub tree reactive.
RM
RouteData
Object that holds information about the active route.
RouteWidget
Widget use to define sub routes or just for better organization or add custom transition to a particular route.
SideEffects<T>
Side effect to be called when the state is initialized, mutated and disposed of
SnapError
The error representation
SnapState<T>
Snap representation of the state
StateBuilder<T>
One of the three observer widgets in states_rebuilder
StateWithMixinBuilder<T, R>
StateBuilder that can be mixin with one of the predefined mixin in mixinWith
SystemLocale
Used to represent the locale of the system.
TopAppWidget
Prefer using TopStatelessWidget instead.
TopStatelessWidget
Used instead of StatelessWidget on top of MaterialApp widget to listen to InjectedI18N and InjectedTheme

Extensions

AlignmentGeometryX
Extension on AlignmentGeometry
BoolX
Extension on bool
BorderRadiusX
Extension on BorderRadius
BoxConstraintsX
Extension on BoxConstraints
BuildContextX
Extension on BuildContext
ColorX
Extension on Color
DecorationX
Extension on Decoration
DoubleX
Extension on double
DoubleXX
Extension on double
EdgeInsetsGeometryX
Extension on EdgeInsetsGeometry
InjectedAnimationX
InjectedAuthX
Extension on InjectedAuth
InjectedCRUDX
Extension on InjectedCRUD
InjectedFormX
Extension on InjectedForm
InjectedScrollingX
extension on InjectedScrolling
InjectedTabPageViewX
Extension on InjectedTabPageView
IntX
Extension on int
IntXX
Extension on int
ListX
Extension on List
MapX
Extension on Map
Matrix4X
Extension on Matrix4
NullX
Extension on Null
OffsetX
Extension on Offset
PageSettingsX
Extension on List
ReactiveModelBool
Extension on ReactiveModel
ReactiveModeListX
Extension on List
ReactiveModeX
Extension on ReactiveModel
RectX
Extension on Rect
RelativeRectX
Extension on RelativeRect
SetX
Extension on Set
SizeX
Extension on Size
StringX
Extension on String
StringXX
Extension on String
TextStyleX
Extension on TextStyle
ThemeDataX
Extension on ThemeData
TypeX
Extension on type

Enums

MixinWith
Mixin StateWithMixinBuilder
PersistOn
Enums {disposed, manualPersist}
StateStatus
Possible state status

Typedefs

StateInterceptor<T> = SnapState<T>? Function(SnapState<T> currentSnap, SnapState<T> nextSnap)