keyDown method

void keyDown(
  1. PhysicalKey key
)
override

Implementation

void keyDown(PhysicalKey key) {
  _pressedKeys.add(key);
}