disabledHint property

Widget? disabledHint
final

A preferred placeholder widget that is displayed when the dropdown is disabled.

If value is null, the dropdown is disabled (items or onChanged is null), this widget is displayed as a placeholder for the dropdown button's value.

Implementation

final Widget? disabledHint;