DeferredInheritedProvider<T, R>.value constructor

DeferredInheritedProvider<T, R>.value({
  1. Key? key,
  2. required T value,
  3. required DeferredStartListening<T, R> startListening,
  4. UpdateShouldNotify<R>? updateShouldNotify,
  5. bool? lazy,
  6. TransitionBuilder? builder,
  7. 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,
      );