lerp method

Linearly interpolate between this and another FDeterminateProgressStyle using the given factor t.

Implementation

@useResult
FDeterminateProgressStyle lerp(FDeterminateProgressStyle other, double t) => FDeterminateProgressStyle(
  constraints: BoxConstraints.lerp(constraints, other.constraints, t) ?? constraints,
  trackDecoration: BoxDecoration.lerp(trackDecoration, other.trackDecoration, t) ?? trackDecoration,
  fillDecoration: BoxDecoration.lerp(fillDecoration, other.fillDecoration, t) ?? fillDecoration,
  motion: motion.lerp(other.motion, t),
);