isSelected method
Checks if the item at the given index is selected.
Returns true if the item is selected, otherwise false.
- Parameter index: The index of the item to check.
Implementation
@override
bool isSelected(int index) {
return _selectedIndexes.contains(index);
}