draggable method
The draggable global attribute attribute that indicates whether the element can be dragged, either with native browser behavior or the HTML Drag and Drop API. Read more...
Implementation
WidgetElement draggable(bool boolean, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('draggable', boolean.toString());
node.attrs!.add(attr);
}
return this;
}