of<T> static method

T of<T>(
  1. BuildContext context
)

Implementation

static T of<T>(BuildContext context) {
  return Provider.of<T>(context, listen: false);
}