state_manager/widgets/widgets
library
Classes
-
DeexConsumer<S extends DeexStore>
-
A widget that listens to a
DeexStore
and rebuilds when the state changes.
It combines both a builder
and a listener
callback.
-
DeexConsumerState<S extends DeexStore>
-
-
DeexElement
-
DeexElement is a class that extends StatelessElement and mixes in StatelessObserverComponent
-
DeexError
-
Error class for Deex errors.
-
DeexStatelessWidget
-
A StatelessWidget that can listen to reactive changes.
-
DeexStore
-
-
FullLifeCycleController
-
A controller with super lifecycles (including native lifecycles)
-
ListNotifier
-
A ListNotifier with both single and group listener support.
-
ListNotifierGroup
-
A notifier with a group of listeners identified by an ID.
-
ListNotifierSingle
-
A Notifier with single listeners
-
Notifier
-
Singleton class that manages notifiers.
-
NotifyData
-
Class representing the data for notifications.
-
Observer
-
It's a experimental feature
-
RxStore
-
A clean store to be used with only Rx variables
-
StateController<T>
-
A recommended way to use Deex with Future fetching
-
SuperController<T>
-
A controller with super lifecycles (including native lifecycles)
and StateMixins
-
ValueBuilder<T>
-
Manages a local state like ObxValue, but uses a callback instead of a Rx value.
-
ValueBuilderState<T>
-
Manages local state like ObxValue, but uses a callback instead of an Rx value.
Typedefs
-
DeexBuilder<S>
= Widget Function(BuildContext context, S state)
-
A function that returns a widget based on the
BuildContext
and the DeexStore
state.
-
DeexListener<S>
= void Function(BuildContext context, S state)
-
A function that performs side effects based on the
BuildContext
and the DeexStore
state.
-
DeexStateUpdate
= void Function()
-
Replaces StateSetter, returning if the Widget is mounted for extra validation.
-
Disposer
= void Function()
-
This callback removes the listener added by the addListener function.
-
ValueBuilderBuilder<T>
= Widget Function(T snapshot, ValueBuilderUpdateCallback<T> updater)
-
Defines a callback that takes a value of generic type T and an updater, and returns a Widget
-
ValueBuilderUpdateCallback<T>
= void Function(T snapshot)
-
Defines a callback that takes a value of generic type T and returns nothing