Toggles the selection state of the row at rowIndex.
rowIndex
Returns the new selection value.
bool toggleAt(int rowIndex) { final selected = !isSelectedAt(rowIndex); setSelectedAt(rowIndex, selected); return selected; }