Called when a route is pushed onto the navigator.
void didPush(Route<dynamic> route, Route<dynamic>? previousRoute) {}