rotatingBorder

fun Modifier.rotatingBorder(isVisible: Boolean = true, shape: Shape = RectangleShape, borderWidth: Dp = 4.dp, borderColor: Color = Color.Blue, segmentLengthRatio: Float = 0.25f, durationMillis: Int = 2000, strokeCap: StrokeCap = StrokeCap.Butt): Modifier