lerp method

Implementation

TermosNavBarEffects lerp(TermosNavBarEffects other, double t) {
  return TermosNavBarEffects(
    glowColorMixWithWhite: lerpDouble(glowColorMixWithWhite, other.glowColorMixWithWhite, t)!,
    dotGridPrimaryMixWithWhite:
        lerpDouble(dotGridPrimaryMixWithWhite, other.dotGridPrimaryMixWithWhite, t)!,
    dotGridPrimaryAlphaLight:
        lerpDouble(dotGridPrimaryAlphaLight, other.dotGridPrimaryAlphaLight, t)!,
    dotGridPrimaryAlphaDark:
        lerpDouble(dotGridPrimaryAlphaDark, other.dotGridPrimaryAlphaDark, t)!,
    selectionAlphaLight: lerpDouble(selectionAlphaLight, other.selectionAlphaLight, t)!,
    selectionAlphaDark: lerpDouble(selectionAlphaDark, other.selectionAlphaDark, t)!,
    starfieldIntensityLight:
        lerpDouble(starfieldIntensityLight, other.starfieldIntensityLight, t)!,
    starfieldIntensityDark:
        lerpDouble(starfieldIntensityDark, other.starfieldIntensityDark, t)!,
    glowShellBaseOpacityLight:
        lerpDouble(glowShellBaseOpacityLight, other.glowShellBaseOpacityLight, t)!,
    glowShellBaseOpacityDark:
        lerpDouble(glowShellBaseOpacityDark, other.glowShellBaseOpacityDark, t)!,
    dotGridExpansionMs: lerpDouble(
      dotGridExpansionMs.toDouble(),
      other.dotGridExpansionMs.toDouble(),
      t,
    )!.round(),
    dotGridDecayMs: lerpDouble(
      dotGridDecayMs.toDouble(),
      other.dotGridDecayMs.toDouble(),
      t,
    )!.round(),
  );
}