PopInvokedCallback typedef

  1. @Deprecated('Use PopWithResultInvokedCallback instead. ' 'This feature was deprecated after v3.22.0-12.0.pre.')
PopInvokedCallback = void Function(bool didPop)

A callback type for informing that a navigation pop has been invoked, whether or not it was handled successfully.

Accepts a didPop boolean indicating whether or not back navigation succeeded.

Implementation

@Deprecated(
  'Use PopWithResultInvokedCallback instead. '
  'This feature was deprecated after v3.22.0-12.0.pre.',
)
typedef PopInvokedCallback = void Function(bool didPop);