getCurrentRoute method
Get the current route.
Implementation
Route<dynamic>? getCurrentRoute() {
if (_routeHistory.isEmpty) return null;
return _routeHistory[_routeHistory.length - 1];
}
Get the current route.
Route<dynamic>? getCurrentRoute() {
if (_routeHistory.isEmpty) return null;
return _routeHistory[_routeHistory.length - 1];
}