onPopInvoked property

  1. @Deprecated('Use onPopInvokedWithResult instead. ' 'This feature was deprecated after v3.22.0-12.0.pre.')
PopInvokedCallback? onPopInvoked
final

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(
  'Use onPopInvokedWithResult instead. '
  'This feature was deprecated after v3.22.0-12.0.pre.',
)
final PopInvokedCallback? onPopInvoked;