state library

Classes

BuilderRef
A interface that must be implemented in the ConsumerWidget
Consumer
A widget to listen the events in a SimpleNotifier or StateNotifier
ConsumerWidget
A base-class for widgets that wants to listen to providers
MultiProviderListener
this class allows you listen the changes in multiples providers
MultiProviderListenerItem<Notifier extends BaseNotifier>
this class is used to define onChange callback for one Notifier
ProviderListener<T extends BaseNotifier>
A widget to listen events in a SimpleProvider or a StateProvider
Target<Notifier, Result>
class to save a Notifier, the listener and the rebuild function

Enums

Filter
enum used to identifier filters used in a provider

Extensions

SimpleProviderExt on SimpleProvider<Notifier>
extension for SimpleProvider
StateProviderExt on StateProvider<Notifier, S>
extension for StateProvider

Functions

createSimpleSelectListener(Target target) → void
create the listener for provider.select filter (SimpleProvider)
createStateSelectListener(Target target) → void
create the listener for provider.select filter (StateProvider)
createWhenListener(Target target) → void
create the listener for provider.when filter

Typedefs

ConsumerBuilder = Widget Function(BuildContext context, BuilderRef ref, Widget? child)
A function that can also listen to providers