onKeyDown property

EventStream<KeyboardEvent> onKeyDown

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);