provide method

Widget provide({
  1. Widget? child,
})

Implementation

Widget provide({Widget? child}) {
  return Provider.value(
    value: this,
    updateShouldNotify: (dynamic a, dynamic b) => a != b,
    child: child,
  );
}