InheritedSolidProvider<T> constructor
const
InheritedSolidProvider<T> ({
- Key? key,
- required Widget child,
- required T data,
- bool notifyUpdate(
- InheritedSolidProvider<
T> oldWidget
- InheritedSolidProvider<
An InheritedWidget that holds the provided data of type T. It notifies its descendants when the data changes based on the notifyUpdate callback.
Implementation
const InheritedSolidProvider({
super.key,
required super.child,
required this.data,
this.notifyUpdate,
});