shift property Null safety

bool shift
final

Whether either (or both) shift keys should be held for trigger to activate the shortcut.

It defaults to false, meaning all Shift keys must be released when the event is received in order to activate the shortcut. If it's true, then either or both Shift keys must be pressed.

See also:

Implementation

final bool shift;