hint property

Widget? hint
final

A placeholder widget that is displayed by the popup button.

If value is null and the popup is enabled (items and onChanged are non-null), this widget is displayed as a placeholder for the popup button's value.

If value is null and the popup is disabled and disabledHint is null, this widget is used as the placeholder.

Implementation

final Widget? hint;