i want to position a box in the right of the container
here is the code i have:
Row(
modifier = Modifier
.fillMaxWidth()
.background(Color.Cyan)
){
ConstraintLayout {
val (leftt,middle,rightt) = createRefs()
Box(
modifier = Modifier.fillMaxHeight()
.width(50.dp)
.background(Color.Yellow)
.constrainAs(rightt){
end.linkTo(parent.end)
}
){
Text("s99")
}
i tried using
absoluteRight
but it didn’t work