lerp static method

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

Implementation

static ScatterLabelSettings lerp(
  ScatterLabelSettings a,
  ScatterLabelSettings b,
  double t,
) {
  return ScatterLabelSettings(
    showLabel: b.showLabel,
    getLabelTextStyleFunction: b.getLabelTextStyleFunction,
    getLabelFunction: b.getLabelFunction,
    textDirection: b.textDirection,
  );
}