routeOf static method
The ModalRoute currently bound to the nearest LAsyncRouteScope or LRouteScope.
Implementation
static ModalRoute<dynamic>? routeOf(BuildContext context,
{bool listen = false}) =>
LRouteScope.routeOf(context, listen: listen);