currentRoute property

Route currentRoute

Returns the route that is currently at the top of the stack.

Implementation

Route get currentRoute => _routeStack.last;