lerp method

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

Implementation

@useResult
FAutocompleteSectionStyle lerp(FAutocompleteSectionStyle other, double t) => FAutocompleteSectionStyle(
  labelTextStyle: FWidgetStateMap.lerpTextStyle(labelTextStyle, other.labelTextStyle, t),
  labelPadding: EdgeInsetsGeometry.lerp(labelPadding, other.labelPadding, t) ?? labelPadding,
  dividerColor: FWidgetStateMap.lerpColor(dividerColor, other.dividerColor, t),
  dividerWidth: lerpDouble(dividerWidth, other.dividerWidth, t) ?? dividerWidth,
  itemStyle: itemStyle.lerp(other.itemStyle, t),
);