Function

zIndex

Controls the drawing order of the element relative to its siblings with zIndex.

zIndex

Source set: JvmAndAndroid
public fun RemoteModifier.zIndex(zIndex: RemoteFloat): RemoteModifier

Controls the drawing order of the element relative to its siblings with zIndex.

Parameters

zIndex The z-index value; higher values are drawn on top of lower values.

Return

a RemoteModifier that sets the drawing order to zIndex

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: