X5WebView constructor

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

Implementation

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