currentRoute property
Route
get
currentRoute
Returns the route that is currently at the top of the stack.
Implementation
Route get currentRoute => _routeStack.last;
Returns the route that is currently at the top of the stack.
Route get currentRoute => _routeStack.last;