lerp method

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

Implementation

@useResult
FResizableDividerStyle lerp(FResizableDividerStyle other, double t) => FResizableDividerStyle(
  color: Color.lerp(color, other.color, t) ?? color,
  width: lerpDouble(width, other.width, t) ?? width,
  focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
  thumbStyle: thumbStyle.lerp(other.thumbStyle, t),
);