normalizeKey static method
label as combinations compare it.
Implementation
static String normalizeKey(String label) => switch (label.replaceAll(' ', '').toLowerCase()) {
'esc' => 'escape',
'return' => 'enter',
'spacebar' => 'space',
final k => k,
};