of<T extends BasicScrollStatefulWidget> static method

T? of<T extends BasicScrollStatefulWidget>(
  1. BuildContext? context
)

Find the latest BasicScrollStatefulWidget object if any

Implementation

static T? of<T extends BasicScrollStatefulWidget>(BuildContext? context) {
  assert(context != null);
  return context?.findAncestorWidgetOfExactType<T>();
}