HubbleWebViewParams constructor

const HubbleWebViewParams({
  1. Future<bool> onNavigationRequest(
    1. HubbleWebViewNavigationRequest request
    )?,
  2. void onPageStarted(
    1. String url
    )?,
  3. void onPageFinished(
    1. String url
    )?,
  4. void onProgress(
    1. int progress
    )?,
  5. void onWebResourceError(
    1. dynamic error
    )?,
  6. void onUrlChange(
    1. String url
    )?,
  7. HubbleWebViewJavascriptMode javascriptMode = HubbleWebViewJavascriptMode.unrestricted,
  8. required String initialUrl,
  9. required Color backgroundColor,
})

Implementation

const HubbleWebViewParams({
  this.onNavigationRequest,
  this.onPageStarted,
  this.onPageFinished,
  this.onProgress,
  this.onWebResourceError,
  this.onUrlChange,
  this.javascriptMode = HubbleWebViewJavascriptMode.unrestricted,
  required this.initialUrl,
  required this.backgroundColor,
});