CreationParams constructor
CreationParams({
- String? initialUrl,
- String? htmlData,
- WebSettings? webSettings,
- Set<
String> javascriptChannelNames = const <String>{}, - String? userAgent,
- AutoMediaPlaybackPolicy autoMediaPlaybackPolicy = AutoMediaPlaybackPolicy.require_user_action_for_all_media_types,
- bool isOnlyChromeUserAgent = false,
Constructs an instance to use when creating a new WebViewPlatformController.
The autoMediaPlaybackPolicy
parameter must not be null.
Implementation
CreationParams({
this.initialUrl,
this.htmlData,
this.webSettings,
this.javascriptChannelNames = const <String>{},
this.userAgent,
this.autoMediaPlaybackPolicy = AutoMediaPlaybackPolicy.require_user_action_for_all_media_types,
this.isOnlyChromeUserAgent = false,
});