lerp static method

Lerps a RadarDataSet based on t value, check Tween.lerp.

Implementation

static RadarDataSet lerp(RadarDataSet a, RadarDataSet b, double t) {
  return RadarDataSet(
    dataEntries: lerpRadarEntryList(a.dataEntries, b.dataEntries, t),
    fillColor: Color.lerp(a.fillColor, b.fillColor, t),
    borderColor: Color.lerp(a.borderColor, b.borderColor, t),
    borderWidth: lerpDouble(a.borderWidth, b.borderWidth, t),
    entryRadius: lerpDouble(a.entryRadius, b.entryRadius, t),
  );
}