labelStyle property

TextStyle? labelStyle
final

The style to use for the labelText when the label is on top of the input field.

When the labelText is above (i.e., vertically adjacent to) the input field, the text uses the floatingLabelStyle instead.

If null, defaults to a value derived from the base TextStyle for the input field and the current Theme.

Implementation

final TextStyle? labelStyle;