didPopNext method
- Route nextRoute
override
The given route, which was above this one, has been popped off the navigator.
This route is now the current route (isCurrent is now true), and there is no next route.
Implementation
@override
void didPopNext(Route<dynamic> nextRoute) {
if (nextRoute is ModalRoute<T> && canTransitionTo(nextRoute) && nextRoute.delegatedTransition != this.delegatedTransition) {
receivedTransition = nextRoute.delegatedTransition;
} else {
receivedTransition = null;
}
super.didPopNext(nextRoute);
changedInternalState();
_maybeDispatchNavigationNotification();
}