Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

positionOnScreen

The position of this layout on the device's screen.

positionOnScreen

Source set: Common
fun LayoutCoordinates.positionOnScreen(): Offset

The position of this layout on the device's screen. Returns Offset.Unspecified if the conversion cannot be performed.

Last updated: