isShiftPressed property

bool get isShiftPressed

Implementation

static bool get isShiftPressed => HardwareKeyboard.instance.logicalKeysPressed
    .where((key) => shiftKeys.contains(key.keyLabel))
    .isNotEmpty;