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
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
userAgent → String
The value used for the HTTP User-Agent: request header. [...]
final
webSettings WebSettings
The initial WebSettings for the new webview. [...]
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited