dataOf static method
Get useful info about the current navigation view.
As a normal user, you will rarely need this information.
Implementation
static _InheritedNavigationView dataOf(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<_InheritedNavigationView>()!;
}