baseStyle property

TextStyle? baseStyle
final

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 titleMedium style from the current Theme, see ThemeData.textTheme.

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

Implementation

final TextStyle? baseStyle;