TextPopupElement class final
A pop-up element that displays plain text, fields, and some of the HTML tags of a GeoElement in a pop-up.
The TextPopupElement.text
returned by this popup element may contain HTML
content. In some cases, the HTML may be relatively simple and you could
parse this code directly. However, we recommend that you use a
platform-specific view to incorporate the HTML content seamlessly into your
app's UI. For example, if you are building an iOS app you could use the
WKWebView
object to display the HTML content.
- Inheritance
-
- Object
- PopupElement
- TextPopupElement
Constructors
- TextPopupElement.new(String text)
-
Creates a new text pop-up element with the given text.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEvaluated → bool
-
True if the pop-up element is contained in the Popup.evaluatedElements,
false otherwise.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String
-
The text to display in the pop-up.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited