Introducing our new Modern UI Kit built for Compose & Kotlin Check it out

layoutBounds

Common

Modifier in Compose Ui

This will map the [RelativeLayoutBounds] of the modifier into the provided [LayoutBoundsHolder]. A given instance of [LayoutBoundsHolder] should not be passed into more than one of these modifiers.

Last updated:

Installation

dependencies {
   implementation("androidx.compose.ui:ui:1.9.0-alpha04")
}

Overloads


fun Modifier.layoutBounds(holder: LayoutBoundsHolder): Modifier
by @alexstyl