AndroidInAppWebViewOptions constructor Null safety

AndroidInAppWebViewOptions(
  1. {int textZoom = 100,
  2. bool clearSessionCache = false,
  3. bool builtInZoomControls = true,
  4. bool displayZoomControls = false,
  5. bool databaseEnabled = true,
  6. bool domStorageEnabled = true,
  7. bool useWideViewPort = true,
  8. bool safeBrowsingEnabled = true,
  9. AndroidMixedContentMode? mixedContentMode,
  10. bool allowContentAccess = true,
  11. bool allowFileAccess = true,
  12. String? appCachePath,
  13. bool blockNetworkImage = false,
  14. bool blockNetworkLoads = false,
  15. AndroidCacheMode? cacheMode = AndroidCacheMode.LOAD_DEFAULT,
  16. String cursiveFontFamily = "cursive",
  17. int defaultFixedFontSize = 16,
  18. int defaultFontSize = 16,
  19. String defaultTextEncodingName = "UTF-8",
  20. AndroidActionModeMenuItem? disabledActionModeMenuItems,
  21. String fantasyFontFamily = "fantasy",
  22. String fixedFontFamily = "monospace",
  23. AndroidForceDark? forceDark = AndroidForceDark.FORCE_DARK_OFF,
  24. bool geolocationEnabled = true,
  25. AndroidLayoutAlgorithm? layoutAlgorithm,
  26. bool loadWithOverviewMode = true,
  27. bool loadsImagesAutomatically = true,
  28. int minimumLogicalFontSize = 8,
  29. bool needInitialFocus = true,
  30. bool offscreenPreRaster = false,
  31. String sansSerifFontFamily = "sans-serif",
  32. String serifFontFamily = "sans-serif",
  33. String standardFontFamily = "sans-serif",
  34. bool saveFormData = true,
  35. bool thirdPartyCookiesEnabled = true,
  36. bool hardwareAcceleration = true,
  37. int initialScale = 0,
  38. bool supportMultipleWindows = false,
  39. String? regexToCancelSubFramesLoading,
  40. bool useHybridComposition = false,
  41. bool useShouldInterceptRequest = false,
  42. bool useOnRenderProcessGone = false,
  43. AndroidOverScrollMode? overScrollMode = AndroidOverScrollMode.OVER_SCROLL_IF_CONTENT_SCROLLS,
  44. bool? networkAvailable,
  45. AndroidScrollBarStyle? scrollBarStyle = AndroidScrollBarStyle.SCROLLBARS_INSIDE_OVERLAY,
  46. AndroidVerticalScrollbarPosition? verticalScrollbarPosition = AndroidVerticalScrollbarPosition.SCROLLBAR_POSITION_DEFAULT,
  47. int? scrollBarDefaultDelayBeforeFade,
  48. bool scrollbarFadingEnabled = true,
  49. int? scrollBarFadeDuration,
  50. RendererPriorityPolicy? rendererPriorityPolicy,
  51. bool disableDefaultErrorPage = false,
  52. Color? verticalScrollbarThumbColor,
  53. Color? verticalScrollbarTrackColor,
  54. Color? horizontalScrollbarThumbColor,
  55. 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 = false,
  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,
});