lerp static method
Lerps a VerticalLine based on t
value, check Tween.lerp.
Implementation
static VerticalLine lerp(VerticalLine a, VerticalLine b, double t) {
return VerticalLine(
x: lerpDouble(a.x, b.x, t)!,
label: VerticalLineLabel.lerp(a.label, b.label, t),
color: Color.lerp(a.color, b.color, t),
gradient: Gradient.lerp(a.gradient, b.gradient, t),
strokeWidth: lerpDouble(a.strokeWidth, b.strokeWidth, t)!,
dashArray: lerpIntList(a.dashArray, b.dashArray, t),
image: b.image,
sizedPicture: b.sizedPicture,
strokeCap: b.strokeCap,
);
}