isLeftPressed method
Implementation
bool isLeftPressed(LogicalKeyboardKey key) {
return keyboardConfig.directionalKeys.any((element) => element.left == key);
}
bool isLeftPressed(LogicalKeyboardKey key) {
return keyboardConfig.directionalKeys.any((element) => element.left == key);
}