handlePanUpdate method
Is called when a pan gesture is updated.
See also:
- GestureDetector.onPanUpdate, which this method is passed to
Implementation
void handlePanUpdate(DragUpdateDetails details) {
final currentPosition = _getOffset(details.globalPosition);
final distance = currentPosition - _startPosition;
value = value.copyWith(distance: distance);
}