primary static method
Primary modifier activator (⌘ on macOS, Ctrl on Windows/Linux).
Implementation
static SingleActivator primary(
LogicalKeyboardKey key, {
bool shift = false,
bool alt = false,
}) {
return SingleActivator(
key,
meta: isApple,
control: !isApple,
shift: shift,
alt: alt,
);
}