DeferredInheritedProvider<T, R>.value constructor
DeferredInheritedProvider<T, R>.value ({
- Key? key,
- required T value,
- required DeferredStartListening<
T, R> startListening, - UpdateShouldNotify<
R> ? updateShouldNotify, - bool? lazy,
- TransitionBuilder? builder,
- Widget? child,
Listens to value
and expose its content to child
and its descendants.
Implementation
DeferredInheritedProvider.value({
Key? key,
required T value,
required DeferredStartListening<T, R> startListening,
UpdateShouldNotify<R>? updateShouldNotify,
bool? lazy,
TransitionBuilder? builder,
Widget? child,
}) : super._constructor(
key: key,
lazy: lazy,
builder: builder,
delegate: _ValueDeferredInheritedProvider<T, R>(
value,
updateShouldNotify,
startListening,
),
child: child,
);