-
Notifications
You must be signed in to change notification settings - Fork 29k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktope: device-specificOnly manifests on certain devicesOnly manifests on certain devicesengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.platform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Description
I'm using flutter (2.0.1) to build a macOS APP. I want to monitor the buttons for undo operations, but it seems that I can't capture the three buttons being pressed correctly.
event.isMetaPressed && event.isKeyPressed(LogicalKeyboardKey.keyZ)
It’s okay to monitor two buttons being pressed, but when I monitor three buttons, the program can’t enter to print
if (event.isMetaPressed &&
event.isShiftPressed &&
event.isKeyPressed(LogicalKeyboardKey.keyZ)) {
back = 7;
print(back);
}
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: desktopRunning on desktopRunning on desktope: device-specificOnly manifests on certain devicesOnly manifests on certain devicesengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.platform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically