WebSpecificParams constructor
const
WebSpecificParams({
- List<
BypassProxy> proxyList = BypassProxy.publicProxies, - bool applyProxyLoadBalancing = true,
- bool printDebugInfo = false,
- bool webAllowFullscreenContent = true,
- List<
String> additionalSandboxOptions = const ['allow-downloads', 'allow-forms', 'allow-modals', 'allow-orientation-lock', 'allow-pointer-lock', 'allow-popups', 'allow-popups-to-escape-sandbox', 'allow-presentation', 'allow-same-origin'], - List<
String> additionalAllowOptions = const ['accelerometer', 'clipboard-write', 'encrypted-media', 'gyroscope', 'picture-in-picture'], - CssLoader cssLoadingIndicator = const CssLoader(),
Constructor
Implementation
const WebSpecificParams({
List<BypassProxy> proxyList = BypassProxy.publicProxies,
this.applyProxyLoadBalancing = true,
this.printDebugInfo = false,
this.webAllowFullscreenContent = true,
this.additionalSandboxOptions = const [
'allow-downloads',
'allow-forms',
'allow-modals',
'allow-orientation-lock',
'allow-pointer-lock',
'allow-popups',
'allow-popups-to-escape-sandbox',
'allow-presentation',
'allow-same-origin',
// 'allow-top-navigation',
// 'allow-top-navigation-by-user-activation',
],
this.additionalAllowOptions = const [
'accelerometer',
'clipboard-write',
'encrypted-media',
'gyroscope',
'picture-in-picture',
],
this.cssLoadingIndicator = const CssLoader(),
}) : _proxyList = proxyList;