lerp method

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

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

Implementation

@useResult
FSelectContentStyle lerp(FSelectContentStyle other, double t) => FSelectContentStyle(
  sectionStyle: sectionStyle.lerp(other.sectionStyle, t),
  scrollHandleStyle: scrollHandleStyle.lerp(other.scrollHandleStyle, t),
  padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
);