lerp method

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

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

Implementation

@useResult
FFocusedOutlineStyle lerp(FFocusedOutlineStyle other, double t) => FFocusedOutlineStyle(
  color: Color.lerp(color, other.color, t) ?? color,
  borderRadius: BorderRadiusGeometry.lerp(borderRadius, other.borderRadius, t) ?? borderRadius,
  width: lerpDouble(width, other.width, t) ?? width,
  spacing: lerpDouble(spacing, other.spacing, t) ?? spacing,
);