isRightPressed method

bool isRightPressed(
  1. LogicalKeyboardKey key
)

Implementation

bool isRightPressed(LogicalKeyboardKey key) {
  return keyboardConfig.directionalKeys
      .any((element) => element.right == key);
}