What is the difference between nesting a `Column` ...
# compose
a
What is the difference between nesting a
Column
inside of a
Surface
as opposed to adding the
.background(color = MaterialTheme.colors.surface)
modifier to the
Column
? Which one would you consider better practice?
f
Look at the implementation of Surface. It also adds some Locals to the composition context which affects text color in dark mode for example
👍 3