{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

CompositionLocalContext


Stores CompositionLocal's and their values.

Can be obtained via currentCompositionLocalContext and passed to another composition via CompositionLocalProvider.

CompositionLocalContext is immutable and won't be changed after its obtaining.