isAlt method

bool isAlt(
  1. LogicalKeyboardKey key
)

Implementation

bool isAlt(LogicalKeyboardKey key) => isAltPressed && key == logicalKey;