webViewEnvironment property
- @SupportedPlatforms.new(platforms: [WindowsPlatform(), LinuxPlatform(apiName: 'WebKitWebContext', apiUrl: 'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/class.WebContext.html')])
final
Used to create the PlatformHeadlessInAppWebView using the specified environment.
Officially Supported Platforms/Implementations:
- Windows WebView2
- Linux WPE WebKit (Official API - WebKitWebContext)
Use the PlatformHeadlessInAppWebViewCreationParams.isPropertySupported method to check if this property is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
WindowsPlatform(),
LinuxPlatform(
apiName: 'WebKitWebContext',
apiUrl:
'https://wpewebkit.org/reference/stable/wpe-webkit-2.0/class.WebContext.html',
),
],
)
final PlatformWebViewEnvironment? webViewEnvironment;