textStyle property

TextStyle? textStyle
final

The text style of the label.

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

Note that the default color is white.

Implementation

final TextStyle? textStyle;