FieldsPopupElement class final
A pop-up element that displays the fields of a GeoElement in a pop-up.
The order of the FieldsPopupElement.fields
collection defines the order in
which fields are displayed in the pop-up. Each field has a PopupField
definition that defines the field format, whether the field is visible,
editable, and so on.
- Inheritance
-
- Object
- PopupElement
- FieldsPopupElement
Constructors
-
FieldsPopupElement.new(List<
PopupField> fields) -
Creates a new fields pop-up element with the given List of PopupField.
factory
Properties
- description ↔ String
-
A string value describing the element in detail. Can be an empty string.
getter/setter pair
-
fields
→ List<
PopupField> -
A List of PopupField objects defining how each field participates in
the pop-up window.
no setter
-
formattedValues
→ List<
String> -
The formatted values for the fields defined in
FieldsPopupElement.fields. This property is populated once
Popup.evaluateExpressions has completed successfully.
no setter
- 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
-
labels
→ List<
String> -
The user-friendly display names for the fields defined in
FieldsPopupElement.fields. This property is populated once
Popup.evaluateExpressions has completed successfully.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
A string value indicating what the element represents. The value can be an
empty string.
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