anchor property

Offset Function(AnchorContext ctx)? anchor
final

Custom anchor for drag-with-ScaleResponse. Receives gesture-time inputs and returns the rect's new center. Null = package default (focal-point-preserving: currentFocalPoint - (startFocalPoint - startRect.center) * scale).

Implementation

final Offset Function(AnchorContext ctx)? anchor;