TimelyParabolicSimulation constructor
TimelyParabolicSimulation(})
From current toward target with initial velocity, in seconds for
duration and for x / dx / isDone time — same shape as
SpringSimulation and SimulationFactory.
Implementation
TimelyParabolicSimulation(
double current,
double target,
double velocity, {
this.duration = kTimelyParabolicDefaultDurationSeconds,
}) : startValue = current,
endValue = target,
startVelocity = velocity,
super();