lerp method
Linearly interpolate between this and another FSelectContentStyle using the given factor t.
Implementation
@useResult
FSelectContentStyle lerp(FSelectContentStyle other, double t) => .new(
sectionStyle: sectionStyle.lerp(other.sectionStyle, t),
scrollHandleStyle: scrollHandleStyle.lerp(other.scrollHandleStyle, t),
padding: .lerp(padding, other.padding, t) ?? padding,
decoration: .lerp(decoration, other.decoration, t) ?? decoration,
barrierFilter: t < 0.5 ? barrierFilter : other.barrierFilter,
backgroundFilter: t < 0.5 ? backgroundFilter : other.backgroundFilter,
viewInsets: .lerp(viewInsets, other.viewInsets, t) ?? viewInsets,
);