lerp method

Implementation

TermosStarfieldConfig lerp(TermosStarfieldConfig other, double t) {
  return TermosStarfieldConfig(
    glowPositionButton: lerpDouble(glowPositionButton, other.glowPositionButton, t)!,
    glowPositionBackButton:
        lerpDouble(glowPositionBackButton, other.glowPositionBackButton, t)!,
    glowRadiusFraction: t < 0.5 ? glowRadiusFraction : other.glowRadiusFraction,
    intensityButtonLight: lerpDouble(intensityButtonLight, other.intensityButtonLight, t)!,
    intensityButtonDark: lerpDouble(intensityButtonDark, other.intensityButtonDark, t)!,
    intensityButtonDisabledBlend:
        lerpDouble(intensityButtonDisabledBlend, other.intensityButtonDisabledBlend, t)!,
    intensityBackButtonLight:
        lerpDouble(intensityBackButtonLight, other.intensityBackButtonLight, t)!,
    intensityBackButtonDark:
        lerpDouble(intensityBackButtonDark, other.intensityBackButtonDark, t)!,
  );
}