The Navigator replaced oldRoute with newRoute.
oldRoute
newRoute
void didReplace({ Route<dynamic> newRoute, Route<dynamic> oldRoute }) { }