states_rebuilder library

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

Enums

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

Extensions

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

Typedefs

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