of static method

RouteState of(
  1. BuildContext context
)

Implementation

static RouteState of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<RouteStateScope>()!.notifier!;