hint property Null safety
final
A placeholder widget that is displayed by the dropdown button.
If value is null and the dropdown is enabled (items and onChanged are non-null), this widget is displayed as a placeholder for the dropdown button's value.
If value is null and the dropdown is disabled and disabledHint is null, this widget is used as the placeholder.
Implementation
final Widget? hint;