of static method

MenuRouter of(
  1. BuildContext context
)

Implementation

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