NavigationRequestCallback typedef

NavigationRequestCallback = FutureOr<NavigationDecision> Function(NavigationRequest navigationRequest)

Signature for callbacks that report a pending navigation request.

Implementation

typedef NavigationRequestCallback = FutureOr<NavigationDecision> Function(
    NavigationRequest navigationRequest);