maybeOf static method
Finds the PrimaryRefreshIndicator from the closest instanc of this class that encloses the given context.
Implementation
static PrimaryRefreshIndicator? maybeOf(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<PrimaryRefreshIndicator>();
}