updateDragPosition method

void updateDragPosition(
  1. Offset position
)

Updates the drag position

Implementation

void updateDragPosition(Offset position) {
  if (_isDragging) {
    _currentPosition = position;
    notifyListeners();
  }
}