dragTo method

void dragTo(
  1. double progress
)

Implementation

void dragTo(double progress) => controller?.value = progress.clamp(0.0, 1.0);