hintText property

String? hintText

Text that suggests what sort of input the field accepts.

Displayed on top of the InputDecorator.child (i.e., at the same location on the screen where text may be entered in the InputDecorator.child) when the input isEmpty and either (a) labelText is null or (b) the input has the focus.


final String? hintText;