drag method

Drag drag (DragStartDetails details, VoidCallback dragCancelCallback)

Start a drag activity corresponding to the given DragStartDetails.

The onDragCanceled argument will be invoked if the drag is ended prematurely (e.g. from another activity taking over). See ScrollDragController.onDragCanceled for details.

Implementation

Drag drag(DragStartDetails details, VoidCallback dragCancelCallback);