showSelected property

bool showSelected
final

Whether to show the selected item instead of the search box after selection.

When true, selecting an item will replace the search box with the selected item display. Tapping on the selected item will clear the selection and show the search box again.

Implementation

final bool showSelected;