WebKitWebViewControllerCreationParams class

Object specifying creation parameters for a WebKitWebViewController.

Annotations

Constructors

WebKitWebViewControllerCreationParams({@visibleForTesting WebKitProxy webKitProxy = const WebKitProxy(), Set<PlaybackMediaTypes> mediaTypesRequiringUserAction = const <PlaybackMediaTypes>{PlaybackMediaTypes.audio, PlaybackMediaTypes.video}, bool allowsInlineMediaPlayback = false, bool limitsNavigationsToAppBoundDomains = false, @visibleForTesting InstanceManager? instanceManager})
Constructs a WebKitWebViewControllerCreationParams.
WebKitWebViewControllerCreationParams.fromPlatformWebViewControllerCreationParams(PlatformWebViewControllerCreationParams params, {@visibleForTesting WebKitProxy webKitProxy = const WebKitProxy(), Set<PlaybackMediaTypes> mediaTypesRequiringUserAction = const <PlaybackMediaTypes>{PlaybackMediaTypes.audio, PlaybackMediaTypes.video}, bool allowsInlineMediaPlayback = false, bool limitsNavigationsToAppBoundDomains = false, @visibleForTesting InstanceManager? instanceManager})
Constructs a WebKitWebViewControllerCreationParams using a PlatformWebViewControllerCreationParams.

Properties

allowsInlineMediaPlayback bool
Whether inline playback of HTML5 videos is allowed.
final
hashCode int
The hash code for this object.
no setterinherited
limitsNavigationsToAppBoundDomains bool
Whether to limit navigation to configured domains.
final
mediaTypesRequiringUserAction Set<PlaybackMediaTypes>
Media types that require a user gesture to begin playing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webKitProxy → WebKitProxy
Handles constructing objects and calling static methods for the WebKit native library.
final

Methods

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

Operators

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