of static method
Implementation
static NavStackController of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<InheritedNavStackController>()!.controller;
static NavStackController of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<InheritedNavStackController>()!.controller;