LocalPromoted Composition Local
Whether the enclosing
SpatialWindow content is currently rendering as a promoted (placed) child window (
true) or inline at its call site as its fallback (
false).
A placed window is composited by the platform, which supplies the window's surface treatment (for example its corner radius); inline content renders directly in the surrounding composition with no such treatment. Content that must look the same either way reads this to apply that treatment itself only when inline — e.g. clipping to a rounded/pill shape when not promoted.
Defaults to false: content that is not inside a placed window — rendering inline, or emitted outside a scene — is not promoted.
Type: ProvidableCompositionLocal
val LocalPromoted: ProvidableCompositionLocal<Boolean>