touchStartEvent constant Null safety

EventStreamProvider<TouchEvent> const touchStartEvent

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

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider touchStartEvent =
    const EventStreamProvider('touchstart')