Source set: Common
@ExperimentalFoundationStyleApi
interface ZIndexScope
An interface that introduces the zIndex property to a Style receiver scope.
Functions
zIndex
fun zIndex(@FloatRange(from = 0.0) value: Float)
Sets the Z-index of the component. Higher Z-index components are drawn on top of lower Z-index components within the same parent. This affects drawing order, not layout.
This property is not inherited
Parameters
| value | The Z-index value. |