onDrag method
Updates the internal AnimationController with the DragUpdateDetails of a GestureDragUpdateCallback
Implementation
void onDrag(DragUpdateDetails details) {
if (dragLength == null) return;
_animationController.value -= details.primaryDelta! / dragLength!;
}