Attributes class

The aesthetic attribute values of a tuple.

Constructors

Attributes({required int index, String? tag, required List<Offset> position, required Shape shape, Color? color, Gradient? gradient, double? elevation, Label? label, double? size})
Creates a attributes.

Properties

color Color?
The color of the tuple.
final
elevation double?
The shadow elevation of the tuple.
final
gradient Gradient?
The gradient of the tuple.
final
hashCode int
The hash code for this object.
no setterinherited
index int
The index of the tuple in all tuples list.
final
label Label?
The label of the tuple.
final
position List<Offset>
Position points of the tuple.
final
representPoint Offset
The represent point of position points.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape Shape
The shape of the tuple.
final
size double?
The size of the tuple.
final
tag String?
final

Methods

deflate(Set<MarkEntrance> entrance) Attributes
Returns the original state of an item attributes in animation according to entrance type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withPosition(List<Offset> p) Attributes
Returns a new attributes that matches this attributes with the position replaced with p.

Operators

operator ==(Object other) bool
The equality operator.
inherited