Function

requireLayoutDirection

Returns the current LayoutDirection of the LayoutNode that this DelegatableNode is attached to.

requireLayoutDirection

Source set: Common
public fun DelegatableNode.requireLayoutDirection(): LayoutDirection

Returns the current LayoutDirection of the LayoutNode that this DelegatableNode is attached to. If the node is not attached, this function will throw an IllegalStateException.

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: