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

eygraber

02/28/2023, 6:02 PM
I noticed that in the Fundamentals of Compose Layouts and Modifiers video a
Spacer
is used to provide the background scrim. Out of curiosity, was there a specific reason to go with a
Spacer
instead of a childless
Box
?
🤔 1
e

ephemient

02/28/2023, 7:24 PM
a spacer and an empty box have slightly different measurement policies, but it doesn't matter here
3 Views