lerp method
Linearly interpolate between this and another FBadgeContentStyle using the given factor t
.
Implementation
@useResult
FBadgeContentStyle lerp(FBadgeContentStyle other, double t) => FBadgeContentStyle(
labelTextStyle: TextStyle.lerp(labelTextStyle, other.labelTextStyle, t) ?? labelTextStyle,
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
);