DynamicEaseInOutSimulation.constructorFrom constructor

DynamicEaseInOutSimulation.constructorFrom(
  1. double prevx,
  2. double prevdx,
  3. double newTarget, {
  4. required double duration,
})

Implementation

DynamicEaseInOutSimulation.constructorFrom(
    double prevx, double prevdx, double newTarget,
    {required this.duration})
    : startValue = prevx,
      endValue = newTarget,
      startVelocity = prevdx,
      super();