dragAnchorStrategy property

DragAnchorStrategy? dragAnchorStrategy
final

A strategy that is used by this draggable to get the anchor offset when it is dragged.

The anchor offset refers to the distance between the users' fingers and the feedback widget when this draggable is dragged.

This property's value is a function that implements DragAnchorStrategy. There are two built-in functions that can be used:

Defaults to childDragAnchorStrategy if the deprecated dragAnchor property is set to DragAnchor.child, and pointerDragAnchorStrategy if the dragAnchor is set to DragAnchor.pointer.

Implementation

final DragAnchorStrategy? dragAnchorStrategy;