of static method

Implementation

static SheetScrollControllerFactory? of(BuildContext context) {
  return context
      .getInheritedWidgetOfExactType<SheetScrollScope>()
      ?.createController;
}