Jetpack Compose String na DP

fun String.toDp(): Dp {
    return Dp(this.toFloat())
}
Tender Turtle