morphWidth static method
Interpolated width.
Implementation
static double morphWidth(
double progress,
double originWidth,
double fullWidth,
) {
final t = progress.clamp(0.0, 1.0);
return lerpDouble(originWidth, fullWidth, t)!;
}
Interpolated width.
static double morphWidth(
double progress,
double originWidth,
double fullWidth,
) {
final t = progress.clamp(0.0, 1.0);
return lerpDouble(originWidth, fullWidth, t)!;
}