core/zenith/zenith_widgets library

Classes

ZenithBuilder
A widget that subscribes to ZenithNodes read inside its builder closure and surgically rebuilds only when those nodes change.
ZenithConsumer
An inline builder widget that subscribes to any ZenithNode read within builder.
ZenithConsumerWidget
A drop-in replacement for Riverpod's ConsumerWidget.
ZenithListener<T>
A widget that fires listener callbacks for side-effects (navigation, dialogs, snackbars) whenever node changes, without triggering UI rebuilds.
ZenithScope
An InheritedWidget wrapper that binds a ZenithContainer to a subtree of the widget tree.
ZenithState<T extends ZenithStatefulWidget>
The state class for a ZenithStatefulWidget.
ZenithStatefulWidget
A stateful widget that integrates with Zenith state management.

Mixins

ZenithStateMixin<T extends StatefulWidget>
A mixin that can be added to any Flutter State to gain reactive Zenith capabilities and convenient node helpers without changing the widget's base class.

Extensions

ZenithContextX on BuildContext
Ergonomic helpers so widgets can access the current ZenithContainer directly from a BuildContext without a verbose ZenithScope.of call.