of static method Null safety
- BuildContext context
Implementation
static NavigationContext? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<NavigationContext>();
static NavigationContext? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<NavigationContext>();