didReplace method

  1. @protected
  2. @mustCallSuper
void didReplace(
  1. Route? oldRoute
)

Called after install when the route replaced another in the navigator.

The didChangeNext and didChangePrevious methods are typically called immediately after this method is called.

Implementation

@protected
@mustCallSuper
void didReplace(Route<dynamic>? oldRoute) { }