Recently, I have switched to Jetpack Compose, I see that it's very convenient and faster when building UI with Compose. But I find it difficult and confusing to decide which style
of Text
should use When using MaterialTheme
?
For example, when I write code like this
Text(
text = "Email",
style = MaterialTheme.typography.,
)
It is difficult and takes a lot of time to decide which typography I should use. It should be bodyMedium
, or bodySmall
or labelMedium
, or titleMedium
or any else
Must I use MaterialTheme.typography
when using Jetpack Compose, or are there any alternatives?