UncontrolledProviderScope constructor
const
UncontrolledProviderScope({
- Key? key,
- required ProviderContainer container,
- required Widget child,
Expose a ProviderContainer to the widget tree.
This is what makes ref.watch(
/Consumer
/ref.read
work.
Implementation
const UncontrolledProviderScope({
super.key,
required this.container,
required super.child,
});