handleDragUpdate method

  1. @override
void handleDragUpdate(
  1. int pointerId,
  2. DragUpdateDetails details
)
override

The pointer that was touching the screen has moved.

This event occurs frequently during the drag, allowing you to keep track of the position of the point of touch as it moves. This event will only fire when the point of touch moves, and not when it stays still.

Implementation

@override
void handleDragUpdate(int pointerId, DragUpdateDetails details) {
  onDragUpdate(pointerId, DragUpdateInfo.fromDetails(this, details));
}