lerp method

Linearly interpolates this style toward other by t.

Implementation

FdcCounterStyle lerp(FdcCounterStyle other, double t) {
  return FdcCounterStyle(
    textStyle: TextStyle.lerp(textStyle, other.textStyle, t),
    alignment: Alignment.lerp(alignment, other.alignment, t) ?? alignment,
    offset: Offset.lerp(offset, other.offset, t) ?? offset,
    height: lerpDouble(height, other.height, t) ?? height,
  );
}