hintText property

  1. @override
String? hintText
override

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

@override
String? get hintText => hinttext;