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