lerp method
Linearly interpolate between this and another FCardStyle using the given factor t
.
Implementation
@useResult
FCardStyle lerp(FCardStyle other, double t) => FCardStyle(
decoration: BoxDecoration.lerp(decoration, other.decoration, t) ?? decoration,
contentStyle: contentStyle.lerp(other.contentStyle, t),
);