topRoute property

Route? get topRoute

Implementation

Route<dynamic>? get topRoute => _routeStack.isNotEmpty ? _routeStack.last : null;