lerpSliceDataList static method

List<SliceData> lerpSliceDataList(
  1. List<SliceData>? current,
  2. List<SliceData> target,
  3. double donutRadius,
  4. double t,
)

Lerps between two SliceData Lists for a factor t

Implementation

static List<SliceData> lerpSliceDataList(
  List<SliceData>? current,
  List<SliceData> target,
  double donutRadius,
  double t,
) =>
    lerpList(current, target, t, lerp: (begin, end, t) {
      return SliceData.lerp(begin, end, donutRadius, t);
    });