ColorAttr class

The specification of a color attribute.

Inheritance

Constructors

ColorAttr({Color? value, String? variable, List<Color>? values, List<double>? stops, Color encoder(Tuple)?, Map<String, Map<bool, SelectionUpdater<Color>>>? updaters})
Creates a color attribute.

Properties

encoder ↔ (Color Function(Tuple)?)
Indicates how to get attribute form a tuple directly.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
Stops corresponding to values.
getter/setter pairinherited
updaters Map<String, Map<bool, SelectionUpdater<Color>>>?
Attribute updaters when a selection occurs.
getter/setter pairinherited
value Color?
Indicates a attribute value for all tuples directly.
getter/setter pairinherited
values List<Color>?
Target attribute values.
getter/setter pairinherited
variable String?
The variable this attribute encodes from.
getter/setter pairinherited

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