lerp method
Linearly interpolate between this and another FCardContentStyle using the given factor t
.
Implementation
@useResult
FCardContentStyle lerp(FCardContentStyle other, double t) => FCardContentStyle(
imageSpacing: lerpDouble(imageSpacing, other.imageSpacing, t) ?? imageSpacing,
subtitleSpacing: lerpDouble(subtitleSpacing, other.subtitleSpacing, t) ?? subtitleSpacing,
titleTextStyle: TextStyle.lerp(titleTextStyle, other.titleTextStyle, t) ?? titleTextStyle,
subtitleTextStyle: TextStyle.lerp(subtitleTextStyle, other.subtitleTextStyle, t) ?? subtitleTextStyle,
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
);