changeSelectedItem method

void changeSelectedItem(
  1. T? selectedItem
)

Change selected Value; this function is public USED to change the selected value PROGRAMMATICALLY, Otherwise you can use _handleOnChangeSelectedItems for multiSelection mode you can use changeSelectedItems

Implementation

void changeSelectedItem(T? selectedItem) => _handleOnChangeSelectedItems(_itemToList(selectedItem));