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.

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: