hintStyle property

TextStyle? hintStyle
final

The style to use for the RichInputDecoration.hintText.

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

Also used for the RichInputDecoration.labelTextSpan when the RichInputDecoration.labelTextSpan is displayed on top of the input field (i.e., at the same location on the screen where text may be entered in the input field).

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

Implementation

final TextStyle? hintStyle;