lerp method

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

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

Implementation

@useResult
FMultiSelectStyle lerp(FMultiSelectStyle other, double t) => FMultiSelectStyle(
  fieldStyle: fieldStyle.lerp(other.fieldStyle, t),
  tagStyle: tagStyle.lerp(other.tagStyle, t),
  popoverStyle: popoverStyle.lerp(other.popoverStyle, t),
  searchStyle: searchStyle.lerp(other.searchStyle, t),
  contentStyle: contentStyle.lerp(other.contentStyle, t),
  emptyTextStyle: TextStyle.lerp(emptyTextStyle, other.emptyTextStyle, t) ?? emptyTextStyle,
);