Popup class final

Represents a pop-up which is basically a pair (GeoElement, PopupDefinition).

Implemented types

Constructors

Popup.new({required GeoElement geoElement, PopupDefinition? popupDefinition})
Creates a new popup from a geo element and a popup definition.
factory

Properties

evaluatedElements List<PopupElement>
A List of PopupElement objects evaluated asynchronously by Popup.evaluateExpressions. During the evaluation, each ExpressionPopupElement is replaced by the PopupElement returned by the Arcade expression and each placeholder is replaced by its value. If the Arcade expression returns a list of attributes to be used by the popup element, these attributes will be used by Popup.getFormattedValue.
no setter
geoElement GeoElement
The GeoElement of the pop-up.
no setter
hashCode int
The hash code for this object.
no setterinherited
popupDefinition PopupDefinition
The popup definition associated with the popup.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol ArcGISSymbol?
The popup symbol.
no setter
title String
The popup title.
no setter
userInput Geometry?
The geometry of the click or tap location that invoked the popup.
getter/setter pair

Methods

evaluateExpressions() Future<List<PopupExpressionEvaluation>>
Asynchronously evaluates all expressions available at PopupDefinition.expressions or at ExpressionPopupElement.popupExpression. The expression can include Arcade FeatureSet functions, which need to be evaluated asynchronously.
getFormattedValue(PopupField popupField) String
Gets the formatted value of the popup field.
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