placeholder property

Widget? placeholder
final

A placeholder widget that is displayed by the combobox button.

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

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

Implementation

final Widget? placeholder;