Property

LocalTonalElevationEnabled

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

Source set: Common

Added in 1.5.0-alpha17

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.