Provider<T>.value constructor
Provider<T>.value ({
- required T value,
- Key? key,
- UpdateShouldNotify<
T> ? updateShouldNotify, - TransitionBuilder? builder,
- Widget? child,
Provides value, made and disposed of elsewhere.
Implementation
Provider.value({
required super.value,
super.key,
super.updateShouldNotify,
super.builder,
super.child,
}) : assert(_checkValue<T>(value), 'checked by debugCheckInvalidValueType'),
super.value();