directionalMove method

void directionalMove(
  1. int pointer,
  2. Offset localPosition
)

Implementation

void directionalMove(int pointer, Offset localPosition) {
  if (pointer == _pointerDragging) {
    if (_dragging) {
      _dragPosition = getViewportPosition(
        localPosition,
      );
    }
  }
}