WebViewAndroidWebViewClient constructor

WebViewAndroidWebViewClient({
  1. required void onPageStartedCallback(
    1. String url
    ),
  2. required void onPageFinishedCallback(
    1. String url
    ),
  3. required void onWebResourceErrorCallback(
    1. WebResourceError error
    ),
})

Creates a WebViewAndroidWebViewClient that doesn't handle navigation requests.

Implementation

WebViewAndroidWebViewClient({
  required this.onPageStartedCallback,
  required this.onPageFinishedCallback,
  required this.onWebResourceErrorCallback,
})  : loadUrl = null,
      onNavigationRequestCallback = null,
      super(shouldOverrideUrlLoading: false);