NavigationDelegate constructor

const NavigationDelegate({
  1. void onProgress(
    1. int id
    )?,
  2. void onPageStarted(
    1. String url
    )?,
  3. void onPageFinished(
    1. String url
    )?,
  4. void onWebResourceError(
    1. WebResourceError error
    )?,
  5. FutureOr<NavigationDecision> onNavigationRequest(
    1. NavigationRequest request
    )?,
  6. void onLoadResource(
    1. String url
    )?,
  7. FutureOr<ServerTrustAuthResponse?> onReceivedServerTrustAuthRequest(
    1. ServerTrustChallenge challenge
    )?,
  8. void onRenderProcessGone(
    1. RenderProcessGoneDetail detail
    )?,
  9. void onUrlHashChanged(
    1. String url
    )?,
})

Implementation

const NavigationDelegate({
  this.onProgress,
  this.onPageStarted,
  this.onPageFinished,
  this.onWebResourceError,
  this.onNavigationRequest,
  this.onLoadResource,
  this.onReceivedServerTrustAuthRequest,
  this.onRenderProcessGone,
  this.onUrlHashChanged,
});