lerp static method

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

Implementation

static RadarDataSet lerp(RadarDataSet a, RadarDataSet b, double t) =>
    RadarDataSet(
      dataEntries: lerpRadarEntryList(a.dataEntries, b.dataEntries, t),
      fillColor: Color.lerp(a.fillColor, b.fillColor, t),
      fillGradient: Gradient.lerp(a.fillGradient, b.fillGradient, t),
      borderColor: Color.lerp(a.borderColor, b.borderColor, t),
      borderWidth: lerpDouble(a.borderWidth, b.borderWidth, t),
      entryRadius: lerpDouble(a.entryRadius, b.entryRadius, t),
    );