Interface

CompositionLocalAccessorScope

Source set: Common
public interface CompositionLocalAccessorScope

Properties

currentValue

Source set: Common
public val <T> CompositionLocal<T>.currentValue: T

An extension property that allows accessing the current value of a composition local in the context of this scope. This scope is the type of the this parameter when in a computed composition. Computed composition locals can be provided by either using compositionLocalWithComputedDefaultOf or by using the ProvidableCompositionLocal.providesComputed infix operator.

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: