dataOf static method

_InheritedNavigationView dataOf(
  1. BuildContext context
)

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>()!;
}