selectionCount property
int
get
selectionCount
Gets the count of selected items.
Implementation
int get selectionCount {
if (_multiSelectEnabled) {
return _selectedItems.length;
}
return _selectedItem != null ? 1 : 0;
}