keyDownEvent constant Null safety

EventStreamProvider<KeyboardEvent> const keyDownEvent

Static factory designed to expose keydown events to event handlers that are not necessarily instances of Element.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<KeyboardEvent> keyDownEvent =
    const EventStreamProvider<KeyboardEvent>('keydown');