placeholder property

Widget? placeholder
final

Widget to display when the text area is empty.

Typically a Text widget that provides guidance to the user about what should be entered. The placeholder is only visible when the text area contains no text.

Implementation

final Widget? placeholder;