clearAllSelections method

void clearAllSelections()

Clears all selected items.

Implementation

void clearAllSelections() {
  if (_selectedItems.isNotEmpty || _selectedKeys.isNotEmpty) {
    _selectedItems.clear();
    _selectedKeys.clear();
    _pendingKeys.clear();
    _notifySelectionChanged();
    notifyListeners();
  }
}