baseStyle property Null safety

TextStyle? baseStyle

The style on which to base the label, hint, counter, and error styles if the decoration does not provide explicit styles.

If null, baseStyle defaults to the subtitle1 style from the current Theme, see ThemeData.textTheme.

The TextStyle.textBaseline of the baseStyle is used to determine the baseline used for text alignment.


final TextStyle? baseStyle;