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