https://kotlinlang.org logo
#compose
Title
# compose
k

KotlinLeaner

08/05/2022, 10:39 AM
Hello ✌️, I have Font
Copy code
Font(R.font.source_sans_variable_350)
and I am passing
FontWeight
so what would be? I checked
FontWeight.Light
and
FontWeight.Normal
which is 300 and 400 respectively. So is there any solution for this ?
Never mind I find the solution
Sorry
Copy code
Font(resId = R.font.montserrat_light, weight = FontWeight(350))
4 Views