clearSelection method
void
clearSelection()
Clear the click/keyboard selection (leaves checkboxes alone).
Implementation
void clearSelection() {
if (_selection.isEmpty && _selected == null) return;
_selection.clear();
_selected = null;
notifyListeners();
}