brightnessOverride property
External brightness source that bypasses the content sampler entirely.
When non-null, the bar follows this listenable instead of registering with the GlassContentAwareScope — the escape hatch for bars floating over content that cannot be captured (iOS PlatformViews such as maps; see platformViewBackdrop). Drive it from your own signal, e.g. the active map style. Implies the adaptive behavior regardless of adaptiveBrightness.
Implementation
final ValueListenable<Brightness>? brightnessOverride;