of static method
Implementation
static NavContext? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<NavContext>();
static NavContext? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<NavContext>();