textStyle property

TextStyle? textStyle
final

If non-null, the style to use for this text.

If the style's "inherit" property is true, the style will be merged with the closest enclosing DefaultTextStyle. Otherwise, the style will replace the closest enclosing DefaultTextStyle.

Implementation

final TextStyle? textStyle;