style property

TextStyle? style
getter/setter pair

The text style of the label.

If set, it will construct the TextPainter.text with the Label.text, and span is not allowed.

Note that the default color is white.

Implementation

TextStyle? style;