showDeselectItem property
bool
get
showDeselectItem
Whether to show select item that deselects the current selection.
Implementation
bool get showDeselectItem =>
!isMultiSelect && deselectLabel?.isNotEmpty == true;