WithDensitySample
@Composable
@Suppress("UNUSED_VARIABLE")
fun WithDensitySample() {
val sizeInPx = with(LocalDensity.current) { 16.dp.toPx() }
}A density of the screen.
@Composable
@Suppress("UNUSED_VARIABLE")
fun WithDensitySample() {
val sizeInPx = with(LocalDensity.current) { 16.dp.toPx() }
}