Skip to main content

Module layout_direction

Module layout_direction 

Source
Expand description

Which way the interface reads.

Layout direction is what turns “start” and “end” into “left” and “right”. It is a composition local rather than a global so a screen can pin a direction — a code block, a phone number, a language picker — without reversing the rest of the interface with it.

Enums§

LayoutDirection
Which side of the interface is the start.

Functions§

ProvideLayoutDirection
Runs content in direction.
layout_direction
The layout direction in force here.
local_layout_direction
The CompositionLocal carrying the current layout direction.