Provider<T> constructor
Provider<T> ({})
Provides the value create makes, handed to dispose, if given,
when this widget leaves the tree.
Implementation
Provider({
required Create<T> super.create,
super.key,
super.dispose,
super.lazy,
super.builder,
super.child,
}) : super(debugCheckInvalidValueType: _checkValue<T>);