dashedBorder

fun Modifier.dashedBorder(color: Color, shape: Shape, strokeWidth: Dp = 1.dp, dashWidth: Dp = 6.dp, gapWidth: Dp = 4.dp): Modifier(source)

Draws a dashed border around a composable using custom stroke parameters.