placeholder property

Widget? placeholder
final

Placeholder widget or text for the text field. Type: Widget? (optional). Usage: Provides hint text or icon inside the input field when empty.

Implementation

final Widget? placeholder;