purebind library

PureBind: Next-generation, ultra-lightweight reactive state management framework for Flutter.

Features fine-grained sub-tree rebuilds, computed signals, time-travel history, atomic glitch-free batching, and 100% type-safe reactive primitives.

Classes

AsyncFuturePure<T>
Async Future-backed signal implementation wrapping AsyncSnapshot.
AsyncStreamPure<T>
Async Stream-backed signal implementation wrapping AsyncSnapshot.
ComputedPure<T>
Derived / Computed state signal implementation automatically updating on dependency changes.
GraphContext
Global evaluation graph context managing active subscribers and batch processing.
Pure<T>
Abstract contract for Pure reactive signals.
PureBuilder<T>
PureBuilder widget listens to changes in a Pure<T> or PureNode<T> state object or dynamically tracked states and triggers targeted rebuilds.
PureConsumer<T>
PureConsumer for listening to state changes for side-effects (navigation, dialogs, snackbars).
PureImpl<T>
Standard reactive signal implementation storing state value T.
PureList<E>
Reactive List wrapper seamlessly integrating collection mutations into PureBind graph notifications.
PureNode<T>
Abstract base class for all reactive signal nodes in the dependency graph.
PureSelect<T, R>
PureSelect widget allowing custom state projections to prevent unnecessary rebuilds.
StateSnapshot<T>
Representation of a single state history snapshot for undo/redo history tracking.
SubscriberNode
Interface representing a node in the dependency graph that can receive update notifications.