androidx.compose.material3.adaptive.layout
DirectionSince 1.1
Value class · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0
No hand-written docs yet.
Represents the direction from where the offset will be calculated.
value class Direction
How to get one
Ready-made values and functions that return it
Properties
FromStart
val FromStart: Direction
Indicates the offset will be calculated from the start. For example, if the offset is 150.dp, the resulted anchor will be at the position that is 150dp away from the start side of the associated layout.
FromEnd
val FromEnd: Direction
Indicates the offset will be calculated from the end. For example, if the offset is 150.dp, the resulted anchor will be at the position that is 150dp away from the end side of the associated layout.
Library docs
Represents the direction from where the offset will be calculated.