color property

ColorAttr? color
getter/setter pair

The color attribute of this element.

Only one in color and gradient can be set.

If null and gradient is also null, a default ColorAttr(value: Defaults.primaryColor) is set.

Implementation

ColorAttr? color;