AdBlockerWebview constructor
const
AdBlockerWebview({
- required Uri url,
- required AdBlockerWebviewController adBlockerWebviewController,
- required bool shouldBlockAds,
- Key? key,
- void onLoadStart(
- InAppWebViewController controller,
- Uri? uri
- void onLoadFinished(
- InAppWebViewController controller,
- Uri? uri
- void onProgress(
- int progress
- void onLoadError()?,
- void onTitleChanged(
- InAppWebViewController controller,
- String? title
- InAppWebViewGroupOptions? options,
- List<
Host> additionalHostsToBlock = const [],
Implementation
const AdBlockerWebview({
required this.url,
required this.adBlockerWebviewController,
required this.shouldBlockAds,
super.key,
this.onLoadStart,
this.onLoadFinished,
this.onProgress,
this.onLoadError,
this.onTitleChanged,
this.options,
this.additionalHostsToBlock = const [],
});