hint property

Widget? hint
final

A placeholder widget that is displayed by the dropdown button.

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

Implementation

final Widget? hint;