onPopInvoked method

  1. @Deprecated('Override onPopInvokedWithResult instead. ' 'This feature was deprecated after v3.22.0-12.0.pre.')
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

@Deprecated(
  'Override onPopInvokedWithResult instead. '
  'This feature was deprecated after v3.22.0-12.0.pre.',
)
void onPopInvoked(bool didPop) {}