consumer/consumer_widget library
Classes
- BuilderRef
- A interface that must be implemented in the ConsumerWidget
- Consumer
- A widget to listen the events in a SimpleNotifier or StateNotifier
-
ConsumerState<
T extends ConsumerStatefulWidget> - A State that has access to a BuilderRef through ref, allowing it to read providers.
- ConsumerStatefulElement
- ConsumerStatefulWidget
- A StatefulWidget that can read providers.
- ConsumerWidget
- A base-class for widgets that wants to listen to providers
Typedefs
- ConsumerBuilder = Widget Function(BuildContext context, BuilderRef ref, Widget? child)
- A function that can also listen to providers