findTargetInCurrentRoute method
Implementation
String findTargetInCurrentRoute() {
if (_history.length > 1) {
return _history[_history.length - 2].currentPage!.name;
}
return '/';
}
String findTargetInCurrentRoute() {
if (_history.length > 1) {
return _history[_history.length - 2].currentPage!.name;
}
return '/';
}