HubbleWebViewParams constructor
const
HubbleWebViewParams({
- void onPageStarted(
- String url
- void onPageFinished(
- String url
- void onProgress(
- int progress
- void onWebResourceError(
- dynamic error
- void onUrlChange(
- String url
- HubbleWebViewJavascriptMode javascriptMode = HubbleWebViewJavascriptMode.unrestricted,
- required String initialUrl,
- 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,
});