Akram Bensalem
nglauber
Row { // All the steps steps.forEachIndexed { index, s -> StepItem(s, index, lastIndex) } }
StepItem
Column { Row ( verticalAlignment = Alignment.CenterVertically ) { if (index != 0) DrawLine(Modifier.weight(1f) Box(Modifier.background( if (selected) colorSelected else colorUnselected, CircleShape) { Text(step) } if (index != lastIndex) DrawLine(Modifier.weight(1f) } Text(stepName) }
A modern programming language that makes developers happier.