lerp static method

Implementation

static NomoVerticalMenuSizingData lerp(
    NomoVerticalMenuSizingData a, NomoVerticalMenuSizingData b, double t) {
  return NomoVerticalMenuSizingData(
    hPadding: lerpDouble(a.hPadding, b.hPadding, t)!,
    itemSpacing: lerpDouble(a.itemSpacing, b.itemSpacing, t)!,
    spacing: lerpDouble(a.spacing, b.spacing, t)!,
    height: lerpDouble(a.height, b.height, t)!,
    iconSize: lerpDouble(a.iconSize, b.iconSize, t)!,
  );
}