W3cubDocs

/Dart 2

dragEvent constant

EventStreamProvider<MouseEvent> const dragEvent = const EventStreamProvider<MouseEvent>('drag')

A stream of drag events fired when an element is currently being dragged.

A drag event is added to this stream as soon as the drag begins. A drag event is also added to this stream at intervals while the drag operation is still ongoing.

Other resources

Implementation

static const EventStreamProvider<MouseEvent> dragEvent =
    const EventStreamProvider<MouseEvent>('drag')

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/Element/dragEvent-constant.html