onDrag property
Stream<DraggableEvent>
onDrag
Fired periodically throughout the drag operation.
Implementation
Stream<DraggableEvent> get onDrag {
if (_onDrag == null) {
_onDrag = StreamController<DraggableEvent>.broadcast(
sync: true, onCancel: () => _onDrag = null);
}
return _onDrag!.stream;
}