dragUpdate method

void dragUpdate(
  1. double delta
)

The drag gesture has changed by fractionalDelta. The total range of the drag should be 0.0 to 1.0.

Implementation

void dragUpdate(double delta) {
  controller.value -= delta;
}