currentPage property
StandardPageInterface<Object?, Object?> ?
get
currentPage
Retrieves the current StandardPageInterface.
Implementation
StandardPageInterface? get currentPage {
StandardPageInterface? tPage = _rootPageInstances.lastOrNull;
if (tPage != null) {
StandardPageInterface? tNestedPageInstance;
do {
tNestedPageInstance = _nestedPageInstances[tPage]?.lastOrNull;
tPage = tNestedPageInstance ?? tPage;
} while (tNestedPageInstance != null);
}
return tPage;
}