LocalTonalElevationEnabled

Property

Common
val LocalTonalElevationEnabled = 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.