of static method

YRefresher? of(
  1. BuildContext? context
)

Implementation

static YRefresher? of(BuildContext? context) {
  return context!.findAncestorWidgetOfExactType<YRefresher>();
}