lerp method

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

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

Implementation

@useResult
FSliderStyles lerp(FSliderStyles other, double t) => FSliderStyles(
  horizontalStyle: horizontalStyle.lerp(other.horizontalStyle, t),
  verticalStyle: verticalStyle.lerp(other.verticalStyle, t),
);