currentCompositionLocalContext

Property

Common
public val currentCompositionLocalContext: CompositionLocalContext

Returns the current CompositionLocalContext which contains all CompositionLocal's in the current composition and their values provided by CompositionLocalProvider's. This context can be used to pass locals to another composition via CompositionLocalProvider. That is usually needed if another composition is not a subcomposition of the current one.