Function

depth

Declare the preferred size of the content to be exactly depth dp along the z dimension of the Composable's local coordinate space.

depth

Source set: Android
public fun SubspaceModifier.depth(depth: Dp): SubspaceModifier

Declare the preferred size of the content to be exactly depth dp along the z dimension of the Composable's local coordinate space.

Parameters

depth preferred depth in Dp.
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: