Keybinding.from constructor
Keybinding.from(
- Iterable<
LogicalKeyboardKey> keys, { - bool inclusive = false,
Creates a new Keybinding from LogicalKeyboardKeys.
Implementation
factory Keybinding.from(
Iterable<LogicalKeyboardKey> keys, {
bool inclusive = false,
}) {
return Keybinding(keys.map<KeyCode>((key) => KeyCode({key.keyId})).toList(),
inclusive: inclusive);
}