WebViewEnvironmentSettings constructor

WebViewEnvironmentSettings({
  1. String? additionalBrowserArguments,
  2. bool? allowSingleSignOnUsingOSPrimaryAccount,
  3. bool? areBrowserExtensionsEnabled,
  4. bool? automationAllowed,
  5. String? browserExecutableFolder,
  6. CacheModel? cacheModel,
  7. EnvironmentChannelSearchKind? channelSearchKind,
  8. List<CustomSchemeRegistration>? customSchemeRegistrations,
  9. bool? enableTrackingPrevention,
  10. bool? exclusiveUserDataFolderAccess,
  11. bool? isCustomCrashReportingEnabled,
  12. String? language,
  13. List<String>? preferredLanguages,
  14. EnvironmentReleaseChannels? releaseChannels,
  15. List<String>? sandboxPaths,
  16. EnvironmentScrollbarStyle? scrollbarStyle,
  17. bool? spellCheckingEnabled,
  18. List<String>? spellCheckingLanguages,
  19. String? targetCompatibleBrowserVersion,
  20. String? timeZoneOverride,
  21. String? userDataFolder,
  22. String? webProcessExtensionsDirectory,
})

Officially Supported Platforms/Implementations:

  • Windows WebView2
  • Linux WPE WebKit

Implementation

WebViewEnvironmentSettings({
  this.additionalBrowserArguments,
  this.allowSingleSignOnUsingOSPrimaryAccount,
  this.areBrowserExtensionsEnabled,
  this.automationAllowed,
  this.browserExecutableFolder,
  this.cacheModel,
  this.channelSearchKind,
  this.customSchemeRegistrations,
  this.enableTrackingPrevention,
  this.exclusiveUserDataFolderAccess,
  this.isCustomCrashReportingEnabled,
  this.language,
  this.preferredLanguages,
  this.releaseChannels,
  this.sandboxPaths,
  this.scrollbarStyle,
  this.spellCheckingEnabled,
  this.spellCheckingLanguages,
  this.targetCompatibleBrowserVersion,
  this.timeZoneOverride,
  this.userDataFolder,
  this.webProcessExtensionsDirectory,
});