Function

requireLayoutCoordinates

Returns the LayoutCoordinates of this node.

requireLayoutCoordinates

Source set: Common
public fun DelegatableNode.requireLayoutCoordinates(): LayoutCoordinates

Returns the LayoutCoordinates of this node.

To get a signal when the LayoutCoordinates become available, or when its parent places it, implement LayoutAwareModifierNode.

Throws: IllegalStateException

When either this node is not attached, or the LayoutCoordinates object is not attached.

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: