color property

Color? color

Returns the Color object for this element.

Implementation

Color? get color => _hexToColor(colorString);