isMetaPressed property Null safety

bool isMetaPressed

Returns true if a META modifier key was pressed at the time of this event, regardless of which side of the keyboard it is on.

Use isModifierPressed if you need to know which meta key was pressed.

Implementation

bool get isMetaPressed => isModifierPressed(ModifierKey.metaModifier);