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