animationValueTo method

void animationValueTo(
  1. double value, {
  2. Duration? duration,
  3. Curve curve = Curves.linear,
})

animationValueTo for animate the animations to custom value

Implementation

void animationValueTo(double value,
        {Duration? duration, Curve curve = Curves.linear}) =>
    _animationController?.animateTo(value, curve: curve, duration: duration);