openDropDownSearch method

Future<T?> openDropDownSearch()

Public Function that return then UI based on searchMode data selected item to be passed to the UI If we close the popup , or maybe we just selected another widget we should clear the focus THIS USED FOR OPEN DROPDOWN_SEARCH PROGRAMMATICALLY, otherwise you can you _selectSearchMode

Implementation

Future<T?> openDropDownSearch() => _selectSearchMode(_selectedItemNotifier.value);