widget_state_notifier library

Classes

MultiWidgetStateConsumer
A widget for consuming state changes from multiple WidgetStateNotifier instances and rebuilding its child widget in response to state changes.
WidgetStateConsumer<T>
A widget for consuming state changes from a WidgetStateNotifier and rebuilding its child widget in response to state changes.
WidgetStateNotifier<T>
A generic class for managing state and broadcasting changes to listeners.

Typedefs

WidgetStateBuilder<D> = Widget Function(BuildContext context, D? data)
A function signature for the builder function used in WidgetStateConsumer.
WidgetStateListBuilder = Widget Function(BuildContext context)
A function signature for the builder function used in MultiWidgetStateConsumer.