maybeOf static method

RouteInfoProvider? maybeOf(
  1. BuildContext context
)

Implementation

static RouteInfoProvider? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<RouteInfoProvider>();
}