lerp static method
Lerps a FlLine based on t
value, check Tween.lerp.
Implementation
static FlLine lerp(FlLine a, FlLine b, double t) {
return FlLine(
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),
);
}