labelStyle property

TextStyle labelStyle

The style to use for the labelText when the label is above (i.e., vertically adjacent to) the input field.

When the labelText is on top of the input field, the text uses the hintStyle instead.

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


final TextStyle labelStyle