lerp method

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

Implementation

@useResult
FResizableDividerThumbStyle lerp(FResizableDividerThumbStyle other, double t) => FResizableDividerThumbStyle(
  decoration: BoxDecoration.lerp(decoration, other.decoration, t) ?? decoration,
  foregroundColor: Color.lerp(foregroundColor, other.foregroundColor, t) ?? foregroundColor,
  height: lerpDouble(height, other.height, t) ?? height,
  width: lerpDouble(width, other.width, t) ?? width,
);