keyPressEvent 属性

EventStreamProvider<KeyEvent> keyPressEvent
getter/setter 实对

用于提供对需要在目标上监视的键事件流访问器。

实现

static EventStreamProvider<KeyEvent> keyPressEvent =
    new _KeyboardEventHandler('keypress');