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) => FAutocompleteStyle(
  fieldStyle: fieldStyle.lerp(other.fieldStyle, t),
  composingTextStyle: FWidgetStateMap.lerpTextStyle(composingTextStyle, other.composingTextStyle, t),
  typeaheadTextStyle: FWidgetStateMap.lerpTextStyle(typeaheadTextStyle, other.typeaheadTextStyle, t),
  popoverStyle: popoverStyle.lerp(other.popoverStyle, t),
  contentStyle: contentStyle.lerp(other.contentStyle, t),
);