fullscreenContentOpacity static method
Fullscreen-mode content opacity. Fades in from ~0.5 to 1.0.
Implementation
static double fullscreenContentOpacity(double progress) {
final t = progress.clamp(0.0, 1.0);
if (t < 0.30) return 0.0;
return ((t - 0.30) / 0.30).clamp(0.0, 1.0);
}