WebViewConfiguration class

Additional configuration options for LaunchMode.inAppWebView.

Annotations

Constructors

WebViewConfiguration({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