border

fun Modifier.border(style: BorderStyle, color: Color = Color.Default): Modifier(source)

Adds a border with the specified style and color.