minimalOpacity property

double? minimalOpacity
final

Optional minimum frosted tint opacity (0.0–1.0) enforced when a non-clear surface renders at GlassQuality.minimal.

When non-null, _FrostedFallback lifts any non-GlassBodyMode.clear surface whose resolved glassColor alpha is below this floor (including widgets with explicit settings:), blending against a brightness-matched neutral base (#1C1C1E dark / #F8F8F8 light) so dark-mode text never white-washes. When null, non-overlay surfaces keep their existing translucent default while text-bearing overlays apply a semantic legibility floor automatically.

Implementation

final double? minimalOpacity;