computeOpenContentOpacity static method
Menu-row opacity while the platter opens, driven by phase time.
Native shows the rows only after the bubble is almost full size: crisp
glyph pixels are ≈ 0.04 @ 183 ms, 0.48 @ 200 ms, 0.81 @ 217 ms.
Smoothstep over t ∈ [0.12, 0.22] s (after _openOnsetLagSeconds),
advanced proportionally by openStartProgress on mid-close reopens.
Implementation
static double computeOpenContentOpacity({
required double elapsedSeconds,
double openStartProgress = 0.0,
}) {
final t = elapsedSeconds +
openStartProgress.clamp(0.0, 1.0) * 0.22 -
_openOnsetLagSeconds;
return _smoothstep01((t - 0.12) / 0.10);
}