onPopInvoked method

void onPopInvoked(
  1. bool didPop
)

Called after a route pop was handled.

Even when the pop is canceled, for example by a PopScope widget, this will still be called. The didPop parameter indicates whether or not the back navigation actually happened successfully.

Implementation

void onPopInvoked(bool didPop) {}