Attributes constructor
Attributes({})
Creates a attributes.
Implementation
Attributes({
required this.index,
this.tag,
required this.position,
required this.shape,
this.color,
this.gradient,
this.elevation,
this.label,
this.size,
}) : assert(isSingle([color, gradient]));