CyberWebView constructor

const CyberWebView({
  1. Key? key,
  2. String? url,
  3. double? width,
  4. double? height,
  5. bool enableJavaScript = true,
  6. bool enableZoom = true,
  7. EdgeInsets? margin,
  8. EdgeInsets? padding,
  9. bool clearCacheOnDispose = true,
})

Implementation

const CyberWebView({
  super.key,
  this.url,
  this.width,
  this.height,
  this.enableJavaScript = true,
  this.enableZoom = true,
  this.margin,
  this.padding,
  this.clearCacheOnDispose = true, // Mặc định xóa cache
});