of static method

SheetController? of(
  1. BuildContext context
)

Implementation

static SheetController? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<_InheritedSheetController>()
      ?.controller;
}