dragUpdate method

void dragUpdate(
  1. double delta
)

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

Implementation

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