InAppWebViewInitialData class

Initial data as a content for an WebView instance, using baseUrl as the base URL for it.

Constructors

InAppWebViewInitialData({required String data, String mimeType = "text/html", String encoding = "utf8", Uri? baseUrl, Uri? androidHistoryUrl})

Properties

androidHistoryUrl Uri
The URL to use as the history entry. The default value is about:blank. If non-null, this must be a valid URL.
getter/setter pair
baseUrl Uri
The URL to use as the page's base URL. The default value is about:blank.
getter/setter pair
data String
A String of data in the given encoding.
getter/setter pair
encoding String
The encoding of the data. The default value is "utf8".
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mimeType String
The MIME type of the data, e.g. "text/html". The default value is "text/html".
getter/setter pair
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
toJson() Map<String, String>
toMap() Map<String, String>
toString() String
A string representation of this object.
override

Operators

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