SolidProvider<T> constructor
const
SolidProvider<T> ({
- Key? key,
- required Widget child,
- required T create(
- BuildContext context
- bool notifyUpdate(
- InheritedSolidProvider<
T> oldWidget
- InheritedSolidProvider<
A provider widget that supplies data of type T to its descendants. It uses an InheritedWidget to propagate the data down the widget tree.
Implementation
const SolidProvider({
super.key,
required this.child,
required this.create,
this.notifyUpdate,
});