InAppWebViewConfiguration class

Additional configuration options for PreferredLaunchMode.inAppWebView.

Not all options are supported on all platforms. This is a superset of available options exposed across all implementations.

Annotations

Constructors

InAppWebViewConfiguration({bool enableJavaScript = true, bool enableDomStorage = true, Map<String, String> headers = const <String, String>{}})
Creates a new WebViewConfiguration with the given settings.
const

Properties

enableDomStorage bool
Whether or not DOM storage is enabled for the web content.
final
enableJavaScript bool
Whether or not JavaScript is enabled for the web content.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Additional headers to pass in the load request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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