Called when a route is removed from the navigator.
void didRemove(Route<dynamic> route, Route<dynamic>? previousRoute) {}