lerp method

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

Implementation

@useResult
FAutocompleteContentStyle lerp(FAutocompleteContentStyle other, double t) => FAutocompleteContentStyle(
  emptyTextStyle: TextStyle.lerp(emptyTextStyle, other.emptyTextStyle, t) ?? emptyTextStyle,
  padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
  progressStyle: progressStyle.lerp(other.progressStyle, t),
  sectionStyle: sectionStyle.lerp(other.sectionStyle, t),
);