didPopNext method

  1. @override
void didPopNext(
  1. Route nextRoute

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.


void didPopNext(Route<dynamic> nextRoute) {
  assert(_controller != null, '$runtimeType.didPopNext called before calling install() or after calling dispose().');
  assert(!_transitionCompleter.isCompleted, 'Cannot reuse a $runtimeType after disposing it.');