VerticalAnchorable
Kotlin
|Java
inner class VerticalAnchorable
kotlin.Any | |
↳ | androidx.compose.foundation.layout.ConstrainScope.VerticalAnchorable |
Represents a vertical side of a layout (i.e start and end) that can be anchored using
linkTo in their Modifier.constrainAs
blocks.
Summary
Public methods | |
---|---|
Unit |
linkTo(anchor: ConstraintLayoutBaseScope.VerticalAnchor, margin: Dp = 0.dp) Adds a link towards a ConstraintLayoutBaseScope.VerticalAnchor. |
Public methods
linkTo
fun linkTo(
anchor: ConstraintLayoutBaseScope.VerticalAnchor,
margin: Dp = 0.dp
): Unit
Adds a link towards a ConstraintLayoutBaseScope.VerticalAnchor.