currentRoute property
PendingRoute?
get
currentRoute
Implementation
PendingRoute? get currentRoute {
if (_children[state.focusedChild] != null) {
return _children[state.focusedChild]!.currentRoute;
} else if (state.viewStack.isNotEmpty) {
return state.viewStack.last;
} else {
return null;
}
}