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 focusEvent =
    const EventStreamProvider('focus')