DragAction constructor
const
DragAction(})
Creates a drag from (fromX, fromY) to (toX, toY).
Implementation
const DragAction(
this.fromX,
this.fromY,
this.toX,
this.toY, {
this.button = 'left',
this.modifiers = const [],
});