lerp static method

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

Implementation

static FlDotData lerp(FlDotData a, FlDotData b, double t) {
  return FlDotData(
    show: b.show,
    checkToShowDot: b.checkToShowDot,
    getDotPainter: b.getDotPainter,
  );
}