color property

ColorEncode? color
getter/setter pair

The color encode of this mark.

Only one in color and gradient can be set.

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

Implementation

ColorEncode? color;