lerp static method

Implementation

static NomoThemeData lerp(NomoThemeData a, NomoThemeData b, double t) {
  return NomoThemeData(
    colorTheme: NomoColorThemeData.lerp(a.colorTheme, b.colorTheme, t),
    sizingTheme: NomoSizingThemeData.lerp(a.sizingTheme, b.sizingTheme, t),
    textTheme: t < 0.5 ? a.typography : b.typography,
    constants: t < 0.5 ? a.constants : b.constants,
  );
}