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

Sergey Y.

09/26/2020, 7:58 PM
What's the difference between Box and Surface components? The Surface looks like a Material Theme specific component and that's it?
a

Adam Powell

09/26/2020, 8:09 PM
😮 1
Surface
sets some theme parameters for its content as well as elevation/shape clipping.
h

Halil Ozercan

09/26/2020, 10:37 PM
Box always felt like a generic purpose layout. Now it's becoming
Stack
feels right.
Surface
as you said in your question is related to material design https://material.io/design/environment/surfaces.html#material-environment
28 Views