WebViewData class

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

Constructors

WebViewData(String data, {String mimeType = "text/html", String encoding = "utf8", String baseUrl = "about:blank", String historyUrl = "about:blank"})

Properties

baseUrl String
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
historyUrl String
The URL to use as the history entry. The default value is about:blank. If non-null, this must be a valid URL. This parameter is used only on Android.
getter/setter pair
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
toMap() Map<String, String>
toString() String
A string representation of this object.
inherited

Operators

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