onPanUpdate method

void onPanUpdate(
  1. DragUpdateDetails details
)

Implementation

void onPanUpdate(DragUpdateDetails details) {
  var delta = details.delta;
  left.value += delta.dx;
  top.value += delta.dy;
}