lerp method

  1. @useResult
FSelectSearchStyle lerp(
  1. FSelectSearchStyle other,
  2. double t
)

Linearly interpolate between this and another FSelectSearchStyle using the given factor t.

Implementation

@useResult
FSelectSearchStyle lerp(FSelectSearchStyle other, double t) => .new(
  textFieldStyle: textFieldStyle.lerp(other.textFieldStyle, t),
  iconStyle: .lerp(iconStyle, other.iconStyle, t),
  dividerStyle: dividerStyle.lerp(other.dividerStyle, t),
  progressStyle: progressStyle.lerp(other.progressStyle, t),
);