Package-level declarations

Types

Link copied to clipboard

Singleton for runtime LTR ↔ RTL toggling.

Functions

Link copied to clipboard

Returns the current LayoutDirection as a boolean. Useful for conditional layout logic inside composables.

Link copied to clipboard
fun isRtlLanguage(language: String = "en"): Boolean
Link copied to clipboard
fun KDirectionProvider(direction: LayoutDirection = LayoutDirection.Ltr, content: @Composable () -> Unit)

Overrides LocalLayoutDirection for the entire subtree.

Link copied to clipboard

Reads the current LayoutDirection from composition.