onPopInvoked method
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
@override
void onPopInvoked(bool didPop) {
for (final PopEntry popEntry in _popEntries) {
popEntry.onPopInvoked?.call(didPop);
}
}