I am following this YouTube Tutorial where they are using Modifier.preferredSize()
on a box and Modifier.preferredHeight()
on a Spacer Composable - all other chained Modifiers are fine.
However Android Studio is not recognizing these 2 options.
Here is the code that I am working with:
I am using compose_version = '1.0.1'
and I'm on AS Arctic Fox