Start native apps faster with the Composables CLI ->
Function

contentBounds

This can update as the modifier is getting disposed, so return zero if we aren't attached to avoid crashing.

contentBounds

Source set: Common
override fun contentBounds(destinationCoordinates: LayoutCoordinates): Rect

This can update as the modifier is getting disposed, so return zero if we aren't attached to avoid crashing. However the caller is responsible for providing a valid and attached destinationCoordinates.