state_manager/state_manager library

Classes

CustomStatus<T>
Deex
The simplest reactive widget in Deex.
DeexElement
DeexError
DeexListenable<T>
DeexNotifier<T>
DeexNotifier has a native status and state implementation, with the Deex Lifecycle
DeexStatelessWidget
A StatelessWidget than can listen reactive changes.
DeexStore
DeexValue<T extends DeexInterface>
Similar to Deex, but manages a local state. Pass the initial data in constructor. Useful for simple local states, like toggles, visibility, themes, button states, etc. Sample: DeexValue((data) => Switch( value: data.value, onChanged: (flag) => data.value = flag, ), false.obs, ),
EmptyStatus<T>
ErrorStatus<T, S>
FullLifeCycleController
A controller with super lifecycles (including native lifecycles)
ListNotifier
ListNotifierGroup
A notifier with group of listeners identified by id
ListNotifierSingle
A Notifier with single listeners
LoadingStatus<T>
Notifier
NotifyData
Observer
RxStatus<T>
RxStore
A clean store to be used with only Rx variables
RxWidget
The RxWidget is the base for all Deex reactive widgets
StateController<T>
A recommended way to use Deex with Future fetching
SuccessStatus<T>
SuperController<T>
A controller with super lifecycles (including native lifecycles) and StateMixins
Value<T>
ValueBuilder<T>
Manages a local state like ObxValue, but uses a callback instead of a Rx value.
ValueBuilderState<T>

Mixins

FullLifeCycleMixin
ListNotifierGroupMixin
ListNotifierSingleMixin
This mixin add to Listenable the addListener, removerListener and containsListener implementation
ScrollMixin
this mixin allow to fetch data when the scroll is at the bottom or on the top
StatelessObserverComponent
a Component that can track changes in a reactive variable
StateMixin<T>

Extensions

StateExt on StateMixin<T>
StatusDataExt on RxStatus<T>

Typedefs

DeexStateUpdate = void Function()
Disposer = void Function()
FuturizeCallback<T> = Future<T> Function(VoidCallback fn)
NotifierBuilder<T> = Widget Function(T state)
ValueBuilderBuilder<T> = Widget Function(T snapshot, ValueBuilderUpdateCallback<T> updater)
ValueBuilderUpdateCallback<T> = void Function(T snapshot)
VoidCallback = void Function()
WidgetCallback = Widget Function()