layoutDirection
The layout direction associated with the current environment.
Declaration
var layoutDirection: LayoutDirection { get set }Discussion
Use this value to determine or set whether the environment uses a left-to-right or right-to-left direction.