placeholderStyle property

TextStyle placeholderStyle
final

The style to use for the placeholder text.

The placeholderStyle is merged with the style TextStyle when applied to the placeholder text. To avoid merging with style, specify TextStyle.inherit as false.

Defaults to the style property with w300 font weight and grey color.

If specifically set to null, placeholder's style will be the same as style.

Implementation

final TextStyle placeholderStyle