lerp method

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

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

Implementation

@useResult
FAutocompleteStyle lerp(FAutocompleteStyle other, double t) => .new(
  fieldStyles: FAutocompleteFieldSizeStyles(
    .lerpWhere(fieldStyles, other.fieldStyles, t, (a, b, t) => a!.lerp(b!, t)),
  ),
  contentStyle: contentStyle.lerp(other.contentStyle, t),
);