get_state_manager/src/simple/simple_builder library
Classes
- Observer
- It's an experimental feature.
- ObxElement
- A wrapper around a StatelessElement that enables observation of changes in the stateless widget's reactive dependencies.
- ObxStatelessWidget
- A stateless widget that can listen to reactive changes.
-
ValueBuilder<
T> - Manages a local state like ObxValue, but uses a callback instead of a Rx value.
-
ValueBuilderState<
T> - The state associated with the ValueBuilder widget.
Mixins
- StatelessObserverComponent
- A component that can track changes in a reactive variable.
Typedefs
-
ValueBuilderBuilder<
T> = Widget Function(T snapshot, ValueBuilderUpdateCallback< T> updater) - A function that builds a widget based on the current value and an updater function.
-
ValueBuilderUpdateCallback<
T> = void Function(T snapshot) - A callback function that is called when the value builder updates its value.