Attr<AV> class abstract

The specification of an aesthetic attribute.

Aesthetic attributes determin how an element item is perceived. An attribute value usually represent an variable value of a tuple. the encoding rules form data to attribute value can be defined in various ways (See details in the properties).

The generic AV is the type of attribute value.

Implementers

Constructors

Attr({AV? value, AV encoder(Tuple)?, Map<String, Map<bool, SelectionUpdater<AV>>>? updaters})
Creates an aesthetic attribute.

Properties

encoder ↔ (AV Function(Tuple)?)
Indicates how to get attribute form a tuple directly.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updaters Map<String, Map<bool, SelectionUpdater<AV>>>?
Attribute updaters when a selection occurs.
getter/setter pair
value ↔ AV?
Indicates a attribute value for all tuples directly.
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.
override