PopupDefinition class final

Represents the look and feel of pop-ups.

Implemented types

Constructors

PopupDefinition.new()
Creates a new popup definition.
factory
PopupDefinition.withGeoElement(GeoElement geoElement)
Creates a new popup definition from a geo element.
factory
PopupDefinition.withPopupSource(PopupSource popupSource)
Creates a new popup definition from a popup source.
factory

Properties

allowDelete bool
A flag indicating whether the popup should allow the associated GeoElement to be deleted.
getter/setter pair
allowEdit bool
A flag indicating whether the popup should allow the associated GeoElement to be edited.
getter/setter pair
allowEditGeometry bool
A flag indicating whether the popup should allow the geometry of the associated GeoElement to be edited.
getter/setter pair
description String
A string that appears in the body of the pop-up window as a description.
getter/setter pair
elements List<PopupElement>
A List of PopupElement objects that represent an ordered list of pop-up elements.
no setter
expressions List<PopupExpression>
A List of PopupExpression objects defining the various arcade expressions on the popup.
no setter
fields List<PopupField>
A List of PopupField objects defining how each field participates in the pop-up window.
no setter
hashCode int
The hash code for this object.
no setterinherited
media List<PopupMedia>
A List of PopupMedia objects that define images and charts displayed in the pop-up window.
no setter
relatedFeaturesDefinition PopupRelatedFeaturesDefinition?
The related features definition.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAttachments bool
A flag determining whether attachments will be loaded for feature layers that have attachments.
getter/setter pair
showEditSummary bool
A flag indicating whether the popup should display the edit summary of the associated GeoElement.
getter/setter pair
title String
A string that appears at the top of the pop-up window as a title.
getter/setter pair

Methods

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