didPopNext method

  1. @override
void didPopNext()
override

Called when the top route has been popped off, and the current route shows up.

Implementation

@override
//* Called when the top route has been popped off, and the current route shows up.
void didPopNext() {
  if (widget.showLogs) {
    log('- Going back to screen: ${widget.routeName ?? widget.child.runtimeType} -');
  }
  _onShowingScreen();
}