currentRoute property

RouteInfo? get currentRoute

Implementation

RouteInfo? get currentRoute => RouteProvider.of(context);