clearSelection method

void clearSelection()

Clears the current selection.

Implementation

void clearSelection() {
  selectedItems.clear();
  _isSelectionMode = false;
  notifyListeners();
}