onKeyDown property

Dispatched when the user presses a key.

Mappings between keys and specific characters vary by device and operating system.

Implementation

EventStream<KeyboardEvent> get onKeyDown =>
    InteractiveObject.keyDownEvent.forTarget(this);