PopInvokedWithResultCallback<T> typedef

PopInvokedWithResultCallback<T> = void Function(bool didPop, T? result)

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.

The result contains the pop result.

Implementation

typedef PopInvokedWithResultCallback<T> = void Function(bool didPop, T? result);