Not sure if this wasn't already asked, but I've pl...
# compose
d
Not sure if this wasn't already asked, but I've played with Compose again and found it rather confusing that given a task of having a
Container
of fixed height (say
80dp
) I don't have a clear understanding of which of 3 ways to use: •
Container(height = 80.dp)
Container(modifier = Height(80.dp))
Contianer(constraints = DpConstraints(maxHeight = 80.dp))
Does it have so many options of doing the same thing because API is still in experimental phase? Will it be narrowed down? Modifiers all the way? 🙂