onKeyPress method Null safety
- EventTarget target
Named constructor to produce a stream for onKeyPress events.
Implementation
static CustomStream<KeyEvent> onKeyPress(EventTarget target) =>
new _KeyboardEventHandler('keypress').forTarget(target);