onPopInvokedWithResult method
- bool didPop,
- T? result
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
@mustCallSuper
void onPopInvokedWithResult(bool didPop, T? result) {
if (_isPageBased) {
final Page<Object?> page = settings as Page<Object?>;
page.onPopInvoked(didPop, result);
}
}