localOffsetFromOrigin property

Offset localOffsetFromOrigin

A local delta offset from the point where the drag initially contacted the screen to the point where the pointer is currently located in local coordinates (the present localPosition) when this callback is triggered.

When considering a GestureRecognizer that tracks the number of consecutive taps, this offset is associated with the most recent PointerDownEvent that occurred.


final Offset localOffsetFromOrigin;