morphBackgroundScale static method
Background scale (slight zoom-out effect).
At progress 0.0 → 1.0, at 1.0 → minScale.
Implementation
static double morphBackgroundScale(
double progress, {
double minScale = 0.92,
}) {
final t = progress.clamp(0.0, 1.0);
return lerpDouble(1.0, minScale, t)!;
}