lastRoute static method

Future<RouteSettings?> lastRoute({
  1. String? url,
})

Returns the route of the page that was last pushed to the navigation stack.

Implementation

static Future<RouteSettings?> lastRoute({String? url}) => ThrioNavigatorImplement.shared().lastRoute(url: url);