didChangePrevious method

  1. @protected
  2. @mustCallSuper
void didChangePrevious (Route previousRoute)
@mustCallSuper, @protected

This route's previous route has changed to the given new route. This is called on a route whenever the previous route changes for any reason, so long as it is in the history. previousRoute will be null if there's no previous route.

Implementation

@protected
@mustCallSuper
void didChangePrevious(Route<dynamic> previousRoute) { }