NavigationDelegate typedef

FutureOr<NavigationDecision> NavigationDelegate (
  1. NavigationRequest navigation
)

Decides how to handle a specific navigation request.

The returned NavigationDecision determines how the navigation described by navigation should be handled.

See also: WebView.navigationDelegate.

Implementation

typedef FutureOr<NavigationDecision> NavigationDelegate(
    NavigationRequest navigation);