Class

CompositionLocalContext

Stores CompositionLocal's and their values.

Source set: Common
public class CompositionLocalContext internal constructor(internal val compositionLocals: PersistentCompositionLocalMap)

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.

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: