CreationParams class

Configuration to use when creating a new WebViewPlatformController.

The autoMediaPlaybackPolicy parameter must not be null.

Constructors

CreationParams({String initialUrl, WebSettings webSettings, Set<String> javascriptChannelNames, String userAgent, AutoMediaPlaybackPolicy autoMediaPlaybackPolicy: AutoMediaPlaybackPolicy.require_user_action_for_all_media_types})
Constructs an instance to use when creating a new WebViewPlatformController. [...]

Properties

autoMediaPlaybackPolicy AutoMediaPlaybackPolicy
Which restrictions apply on automatic media playback.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
initialUrl String
The initialUrl to load in the webview. [...]
final
javascriptChannelNames Set<String>
The initial set of JavaScript channels that are configured for this webview. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userAgent String
The value used for the HTTP User-Agent: request header. [...]
final
webSettings WebSettings
The initial WebSettings for the new webview. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited