🌈 Create new beautiful Compose Gradients with our new wesite ->
Property

LocalTonalElevationEnabled

Composition Local used to check if ColorScheme.applyTonalElevation will be applied down the tree.

Source set: Common
public val LocalTonalElevationEnabled: ProvidableCompositionLocal<Boolean> =
    staticCompositionLocalOf {
        true
    }

Composition Local used to check if ColorScheme.applyTonalElevation will be applied down the tree.

Setting this value to false will cause all subsequent surfaces down the tree to not apply tonalElevation.

Content updated: