of static method

NavigatorNode of(
  1. BuildContext context
)

Implementation

static NavigatorNode of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<InheritedNavigatorNode>()!
      .node;
}