isMetaPressed property Null safety
Returns true if a META modifier key is pressed, regardless of which side of the keyboard it is on.
Use isKeyPressed if you need to know which meta key was pressed.
Implementation
bool get isMetaPressed {
return isKeyPressed(LogicalKeyboardKey.metaLeft) || isKeyPressed(LogicalKeyboardKey.metaRight);
}