lerp static method

Smaller lerp(
  1. Smaller a,
  2. Smaller? b,
  3. double t
)

Linearly interpolates the provided objects based on the given t value.

Implementation

static Smaller lerp(Smaller a, Smaller? b, double t) {
  return Smaller._(
    bold: SmallerBold.lerp(a.bold, b?.bold, t),
    regular: SmallerRegular.lerp(a.regular, b?.regular, t),
  );
}