didReplace method

  1. @override
void didReplace({
  1. Route? newRoute,
  2. Route? oldRoute,
})
override

The Navigator replaced oldRoute with newRoute.

Implementation

@override
void didReplace({Route? newRoute, Route? oldRoute}) {
  super.didReplace(newRoute: newRoute, oldRoute: oldRoute);
  lifeCycle.replaceRoute(newRoute, oldRoute);
  printLog(
      title: TAG, content: "didReplace-result_length:${lifeCycle.pageSize}");
}