of static method
Implementation
static MenuRouter of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<MenuRouter>()!;
static MenuRouter of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<MenuRouter>()!;