Compose Modifier

depthEffect

Renders shadows for the provided depthEffect.

depthEffect

Source set: Android
public fun Modifier.depthEffect(depthEffect: DepthEffect?, shape: Shape): Modifier

Renders shadows for the provided depthEffect.

Parameters

depthEffect Depth effect to render shadows for. If null, no shadows will be rendered.
shape Shape of the shadows

Last updated: