lerp static method

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

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

Implementation

static GiantRegular lerp(GiantRegular a, GiantRegular? b, double t) {
  return GiantRegular._(
    onBackground: TextStyle.lerp(a.onBackground, b?.onBackground, t)!,
  );
}