isAltPressed property

bool isAltPressed

True if the Alt key is currently being pressed.

Implementation

bool get isAltPressed =>
    _logicalKeys.contains(LogicalKeyboardKey.altLeft) ||
    _logicalKeys.contains(LogicalKeyboardKey.altRight);