```Divider( color = MaterialTheme.colors.backg...
# compose
i
Copy code
Divider(
    color = MaterialTheme.colors.background,
    modifier = Modifier
        .height(150.dp)
        .width(2.dp)
)
How Can I add rounded corners for that divider?
a
Modifier has a couple of possibilities, both
background
and
clip
takes a shape as argument and might work?
👍 3
i
Copy code
.border(
    width = 2.dp,
    color = MaterialTheme.colors.background,
    shape = RoundedCornerShape(15.dp)
)
👍 1