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.

Last updated: