modifierLeftShift constant Null safety

int const modifierLeftShift

This mask is used to check the modifiers field to test whether the left SHIFT modifier key is pressed.

Use this value if you need to decode the modifiers field yourself, but it's much easier to use isModifierPressed if you just want to know if a modifier is pressed.

Implementation

static const int modifierLeftShift = 1 << 1;