removeItem method
void
removeItem(
- T itemToRemove
function to remove an item from the list Useful in multiSelection mode to delete an item
Implementation
void removeItem(T itemToRemove) =>
_handleOnChangeSelectedItems(getSelectedItems..removeWhere((i) => _isEqual(itemToRemove, i)));