of static method

MenuManagerState? of(
  1. BuildContext context
)

Implementation

static MenuManagerState? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<_MenuManagerScope>()?.state;
}