lerp method
Linearly interpolate between this and another FSelectStyle using the given factor t.
Implementation
@useResult
FSelectStyle lerp(FSelectStyle other, double t) => .new(
fieldStyles: FTextFieldSizeStyles(.lerpWhere(fieldStyles, other.fieldStyles, t, (a, b, t) => a!.lerp(b!, t))),
searchStyle: searchStyle.lerp(other.searchStyle, t),
contentStyle: contentStyle.lerp(other.contentStyle, t),
emptyTextStyle: .lerp(emptyTextStyle, other.emptyTextStyle, t) ?? emptyTextStyle,
);