provider method

Widget provider(
  1. {Key? key,
  2. ErrorBuilder<double>? catchError,
  3. UpdateShouldNotify<double>? updateShouldNotify,
  4. bool? lazy,
  5. TransitionBuilder? builder,
  6. Widget? child}
)

Implementation

Widget provider({
  Key? key,
  ErrorBuilder<double>? catchError,
  UpdateShouldNotify<double>? updateShouldNotify,
  bool? lazy,
  TransitionBuilder? builder,
  Widget? child,
}) {
  return Provider.value(
    value: this,
    child: value.provider(
      key: key,
      updateShouldNotify: updateShouldNotify,
      lazy: lazy,
      builder: builder,
      child: child,
    ),
  );
}