ProxyProvider0<R> constructor

ProxyProvider0<R>({
  1. required R update(
    1. BuildContext context,
    2. R? value
    ),
  2. Key? key,
  3. Create<R>? create,
  4. UpdateShouldNotify<R>? updateShouldNotify,
  5. Dispose<R>? dispose,
  6. bool? lazy,
  7. TransitionBuilder? builder,
  8. Widget? child,
})

Provides what update makes.

Implementation

ProxyProvider0({
  required R Function(BuildContext context, R? value) super.update,
  super.key,
  super.create,
  super.updateShouldNotify,
  super.dispose,
  super.lazy,
  super.builder,
  super.child,
}) : super(
       debugCheckInvalidValueType: (value) =>
           Provider.debugCheckInvalidValueType?.call<R>(value),
     );