foregroundColor property

Color? foregroundColor
getter/setter pair

The color of the text.

The value of this attribute is a Color object. Use this attribute to specify the color of the text during rendering. If you do not specify this attribute, the text is rendered in black.

Implementation

Color? foregroundColor;