currentValue

abstract val <T> CompositionLocal<T>.currentValue: T

An extension property that accesses the current value of this composition local in the context of this scope: where the styled component was declared, or for a nested style where its provider was declared. A change of a dynamic local runs the style again.