didReplace method
The Navigator replaced oldRoute
with newRoute
.
Implementation
@override
void didReplace({Route<dynamic>? newRoute, Route<dynamic>? oldRoute}) {
assert(navigator != null);
assert(newRoute != null);
_prepareVillainTransition(oldRoute, newRoute, false);
}