getPreviousRoute method
Get the previous route.
Implementation
Route<dynamic>? getPreviousRoute() {
if (_routeHistory.length < 2) return null;
return _routeHistory[_routeHistory.length - 2];
}
Get the previous route.
Route<dynamic>? getPreviousRoute() {
if (_routeHistory.length < 2) return null;
return _routeHistory[_routeHistory.length - 2];
}