placeholder property

String? placeholder
final

A lighter colored placeholder hint that appears on the first line of the text field when the text entry is empty.

Defaults to having no placeholder text.

The text style of the placeholder text matches that of the text field's main text entry except a lighter font weight and a grey font color.

Implementation

final String? placeholder;