hintText property

String? hintText
final

Text that suggests what sort of input the field accepts.

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

Implementation

final String? hintText;