focusEvent constant Null safety

EventStreamProvider<Event> const focusEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<Event> focusEvent =
    const EventStreamProvider<Event>('focus')