ExponentialDecay.perFrame constructor
Per-frame velocity multiplier (iOS / JS conventions). 60fps default.
Implementation
factory ExponentialDecay.perFrame(double multiplier,
{double fps = 60, double endVelocity = 60}) =>
ExponentialDecay(
1 - math.pow(multiplier, fps).toDouble(),
endVelocity: endVelocity,
);