X5WebView constructor

const X5WebView({
  1. Key? key,
  2. dynamic url,
  3. bool javaScriptEnabled = true,
  4. X5WebViewCreatedCallback? onWebViewCreated,
  5. PageFinishedCallback? onPageFinished,
  6. ShowCustomViewCallback? onShowCustomView,
  7. HideCustomViewCallback? onHideCustomView,
  8. JavascriptChannels? javascriptChannels,
  9. ProgressChangedCallback? onProgressChanged,
  10. UrlLoading? onUrlLoading,
  11. Map<String, String>? header,
  12. bool domStorageEnabled = true,
  13. bool useExpensiveAndroidView = false,
  14. String? userAgentString,
})

Implementation

const X5WebView(
    {Key? key,
    this.url,
    this.javaScriptEnabled = true,
    this.onWebViewCreated,
    this.onPageFinished,
    this.onShowCustomView,
    this.onHideCustomView,
    this.javascriptChannels,
    this.onProgressChanged,
    this.onUrlLoading,
    this.header,
    this.domStorageEnabled = true,
    this.useExpensiveAndroidView = false,
    this.userAgentString})
    : super(key: key);