hintText property Null safety

String? hintText
final

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.

Implementation

final String? hintText;