didReplace method
The Navigator replaced oldRoute
with newRoute
.
Implementation
@override
void didReplace({Route? newRoute, Route? oldRoute}) {
Nylo.removeLastRouteHistory();
if (newRoute == null) return;
Nylo.addRouteHistory(newRoute);
}
The Navigator replaced oldRoute
with newRoute
.
@override
void didReplace({Route? newRoute, Route? oldRoute}) {
Nylo.removeLastRouteHistory();
if (newRoute == null) return;
Nylo.addRouteHistory(newRoute);
}