removeKeyAt method

void removeKeyAt(
  1. int index
)

Removes a key at the given index.

Implementation

void removeKeyAt(int index) {
  if (index >= 0 && index < _selectedKeys.length) {
    final key = _selectedKeys[index];
    removeByKey(key);
  }
}