onDrag method
The drag event is fired every few hundred milliseconds as an element or text selection is being dragged by the user. Read more...
Implementation
WidgetElementVisible onDrag(Function(Element, Event)? fun) {
if (fun != null) on.call('drag', fun);
return this;
}