morphHeight static method
Interpolated height.
Implementation
static double morphHeight(
double progress,
double originHeight,
double fullHeight,
) {
final t = progress.clamp(0.0, 1.0);
return lerpDouble(originHeight, fullHeight, t)!;
}
Interpolated height.
static double morphHeight(
double progress,
double originHeight,
double fullHeight,
) {
final t = progress.clamp(0.0, 1.0);
return lerpDouble(originHeight, fullHeight, t)!;
}