IsKeyPressed method
Check if a key has been pressed once
Implementation
bool IsKeyPressed(
KeyboardKey key,
) => run(
() => _debugLabels.IsKeyPressed(key),
() => _flat.IsKeyPressed(
key.value,
),
);
Check if a key has been pressed once
bool IsKeyPressed(
KeyboardKey key,
) => run(
() => _debugLabels.IsKeyPressed(key),
() => _flat.IsKeyPressed(
key.value,
),
);