floatingLabelStyle property Null safety

TextStyle? floatingLabelStyle

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

If floatingLabelStyle is a MaterialStateTextStyle, then the effective text style can depend on the MaterialState.focused state, i.e. if the TextField is focused or not.

If null, defaults to labelStyle.


final TextStyle? floatingLabelStyle;