PopupMediaValue class final
Represents the popup media values that are depending on the type of media.
- Implemented types
Constructors
- PopupMediaValue.new()
-
Create a new popup media value object.
factory
Properties
-
chartColors
→ List<
Color> -
An array of colors to be used in charts, where each
color
sequentially corresponds to a field in the PopupMediaValue.fieldNames property. When the popup media type is PopupMediaType.lineChart, the first color in the array will drive the line color and other colors are ignored. If the color array is longer than PopupMediaValue.fieldNames, additional colors are ignored. If the color array is shorter than PopupMediaValue.fieldNames, a default color ramp will be applied when generating the chart (e.g. by using PopupMedia.generateChart).no setter -
data
→ List<
Object> -
The attribute values for the pop-up media's fields defined in
PopupMediaValue.fieldNames. This property is populated when
Popup.evaluateExpressions is called.
no setter
-
fieldNames
→ List<
String> -
The field names of the fields to display in the chart.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ List<
String> -
The user-friendly display names for the pop-up media's fields defined in
PopupMediaValue.fieldNames. This property is populated when
Popup.evaluateExpressions is called.
no setter
- linkUri ↔ Uri?
-
Gets the link URL for an image media.
getter/setter pair
- normalizeFieldName ↔ String
-
The optional field used to normalize the chart.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceUri ↔ Uri?
-
The source URL for an image media.
getter/setter pair
- tooltipFieldName ↔ String
-
The tooltip field name.
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