lerp static method

Implementation

static NomoCardSizingData lerp(
    NomoCardSizingData a, NomoCardSizingData b, double t) {
  return NomoCardSizingData(
    elevation: lerpDouble(a.elevation, b.elevation, t)!,
    offset: Offset.lerp(a.offset, b.offset, t)!,
    borderRadius:
        BorderRadiusGeometry.lerp(a.borderRadius, b.borderRadius, t)!,
    padding: EdgeInsetsGeometry.lerp(a.padding, b.padding, t)!,
    margin: EdgeInsetsGeometry.lerp(a.margin, b.margin, t)!,
  );
}