onPopPage method
Called when Page route is popped this is not called when pageless routes are popped e.g popping a dialog that does not use PageRoute will not trigger this method
Implementation
void onPopPage(AutoRoutePage<Object?> page) {
_pages.remove(page);
_updateSharedPathData(includeAncestors: true);
if (isRouteDataActive(page.routeData)) {
navigationHistory.rebuildUrl();
}
}