placeholder property

Widget? placeholder
final

A placeholder widget that is displayed by the combo box button.

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

If value is null and the combo box is disabled and disabledPlaceholder is null, this widget is used as the placeholder.

Implementation

final Widget? placeholder;