PopInvokedCallback typedef
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
typedef PopInvokedCallback = void Function(bool didPop);