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(Route<dynamic> route, RouteData data) {
removeRoute(data);
}