AndroidInAppWebViewOptions constructor
AndroidInAppWebViewOptions({
- int textZoom = 100,
- bool clearSessionCache = false,
- bool builtInZoomControls = true,
- bool displayZoomControls = false,
- bool databaseEnabled = true,
- bool domStorageEnabled = true,
- bool useWideViewPort = true,
- bool safeBrowsingEnabled = true,
- AndroidMixedContentMode? mixedContentMode,
- bool allowContentAccess = true,
- bool allowFileAccess = true,
- String? appCachePath,
- bool blockNetworkImage = false,
- bool blockNetworkLoads = false,
- AndroidCacheMode? cacheMode = AndroidCacheMode.LOAD_DEFAULT,
- String cursiveFontFamily = "cursive",
- int defaultFixedFontSize = 16,
- int defaultFontSize = 16,
- String defaultTextEncodingName = "UTF-8",
- AndroidActionModeMenuItem? disabledActionModeMenuItems,
- String fantasyFontFamily = "fantasy",
- String fixedFontFamily = "monospace",
- AndroidForceDark? forceDark = AndroidForceDark.FORCE_DARK_OFF,
- bool geolocationEnabled = true,
- AndroidLayoutAlgorithm? layoutAlgorithm,
- bool loadWithOverviewMode = true,
- bool loadsImagesAutomatically = true,
- int minimumLogicalFontSize = 8,
- bool needInitialFocus = true,
- bool offscreenPreRaster = false,
- String sansSerifFontFamily = "sans-serif",
- String serifFontFamily = "sans-serif",
- String standardFontFamily = "sans-serif",
- bool saveFormData = true,
- bool thirdPartyCookiesEnabled = true,
- bool hardwareAcceleration = true,
- int initialScale = 0,
- bool supportMultipleWindows = false,
- String? regexToCancelSubFramesLoading,
- bool useHybridComposition = true,
- bool useShouldInterceptRequest = false,
- bool useOnRenderProcessGone = false,
- AndroidOverScrollMode? overScrollMode = AndroidOverScrollMode.OVER_SCROLL_IF_CONTENT_SCROLLS,
- bool? networkAvailable,
- AndroidScrollBarStyle? scrollBarStyle = AndroidScrollBarStyle.SCROLLBARS_INSIDE_OVERLAY,
- AndroidVerticalScrollbarPosition? verticalScrollbarPosition = AndroidVerticalScrollbarPosition.SCROLLBAR_POSITION_DEFAULT,
- int? scrollBarDefaultDelayBeforeFade,
- bool scrollbarFadingEnabled = true,
- int? scrollBarFadeDuration,
- RendererPriorityPolicy? rendererPriorityPolicy,
- bool disableDefaultErrorPage = false,
- Color? verticalScrollbarThumbColor,
- Color? verticalScrollbarTrackColor,
- Color? horizontalScrollbarThumbColor,
- Color? horizontalScrollbarTrackColor,
Implementation
AndroidInAppWebViewOptions({
this.textZoom = 100,
this.clearSessionCache = false,
this.builtInZoomControls = true,
this.displayZoomControls = false,
this.databaseEnabled = true,
this.domStorageEnabled = true,
this.useWideViewPort = true,
this.safeBrowsingEnabled = true,
this.mixedContentMode,
this.allowContentAccess = true,
this.allowFileAccess = true,
this.appCachePath,
this.blockNetworkImage = false,
this.blockNetworkLoads = false,
this.cacheMode = AndroidCacheMode.LOAD_DEFAULT,
this.cursiveFontFamily = "cursive",
this.defaultFixedFontSize = 16,
this.defaultFontSize = 16,
this.defaultTextEncodingName = "UTF-8",
this.disabledActionModeMenuItems,
this.fantasyFontFamily = "fantasy",
this.fixedFontFamily = "monospace",
this.forceDark = AndroidForceDark.FORCE_DARK_OFF,
this.geolocationEnabled = true,
this.layoutAlgorithm,
this.loadWithOverviewMode = true,
this.loadsImagesAutomatically = true,
this.minimumLogicalFontSize = 8,
this.needInitialFocus = true,
this.offscreenPreRaster = false,
this.sansSerifFontFamily = "sans-serif",
this.serifFontFamily = "sans-serif",
this.standardFontFamily = "sans-serif",
this.saveFormData = true,
this.thirdPartyCookiesEnabled = true,
this.hardwareAcceleration = true,
this.initialScale = 0,
this.supportMultipleWindows = false,
this.regexToCancelSubFramesLoading,
this.useHybridComposition = true,
this.useShouldInterceptRequest = false,
this.useOnRenderProcessGone = false,
this.overScrollMode = AndroidOverScrollMode.OVER_SCROLL_IF_CONTENT_SCROLLS,
this.networkAvailable,
this.scrollBarStyle = AndroidScrollBarStyle.SCROLLBARS_INSIDE_OVERLAY,
this.verticalScrollbarPosition =
AndroidVerticalScrollbarPosition.SCROLLBAR_POSITION_DEFAULT,
this.scrollBarDefaultDelayBeforeFade,
this.scrollbarFadingEnabled = true,
this.scrollBarFadeDuration,
this.rendererPriorityPolicy,
this.disableDefaultErrorPage = false,
this.verticalScrollbarThumbColor,
this.verticalScrollbarTrackColor,
this.horizontalScrollbarThumbColor,
this.horizontalScrollbarTrackColor,
});