lerp static method

Implementation

static ZeroProgressStyle lerp(
    ZeroProgressStyle? a, ZeroProgressStyle? b, double t) {
  return ZeroProgressStyle(
    valueColor: Color.lerp(a?.valueColor, b?.valueColor, t),
    backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
    lineSize: t < 0.5 ? a?.lineSize : b?.lineSize,
  );
}