H5WebView constructor

H5WebView({
  1. Key? key,
  2. String url = "",
  3. String htmlData = "",
  4. bool isEnabledDebug = false,
  5. OnOverloadUrl? overloadingUrl,
  6. Map<String, String>? headers,
  7. Set<JavascriptChannel>? javascriptChannels,
  8. bool withJavascript = true,
  9. String? userAgent,
  10. bool withZoom = false,
  11. bool withDisplayZoomControls = false,
  12. Widget? initialChild,
  13. OnWebInitializedCallback? initializedCallback,
  14. OnWebBack? backListener,
  15. bool clearCache = false,
  16. bool clearCookies = false,
  17. OnSchemeUrl? schemeCall,
  18. OnWebLoadFinished? onWebLoadFinished,
  19. OnWebPageChanged? onPageChanged,
  20. OnTitleCall? onTitleCall,
  21. OnWebLoadCompletedCall? loadCompletedCall,
  22. bool isLoading = true,
  23. String? loadingText,
  24. OnUpdateTitleCall? titleCall,
  25. bool isOnlyChromeUserAgent = false,
})

Implementation

H5WebView({
  Key? key,
  this.url = "",
  this.htmlData = "",
  this.isEnabledDebug = false,
  this.overloadingUrl,
  this.headers,
  this.javascriptChannels,
  this.withJavascript = true,
  this.userAgent,
  this.withZoom = false,
  this.withDisplayZoomControls = false,
  this.initialChild,
  this.initializedCallback,
  this.backListener,
  this.clearCache = false,
  this.clearCookies = false,
  this.schemeCall,
  this.onWebLoadFinished,
  this.onPageChanged,
  this.onTitleCall,
  this.loadCompletedCall,
  this.isLoading = true,
  this.loadingText,
  this.titleCall,
  this.isOnlyChromeUserAgent = false,
}) : super(key: key);