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) {
if (!_pages.remove(page)) return;
_updateSharedPathData(includeAncestors: true);
if (isRouteDataActive(page.routeData)) {
navigationHistory.rebuildUrl();
}
}