Does Compose have a concept of padding like Androi...
# compose
k
Does Compose have a concept of padding like Android View System does
c
k
:)
So, padding refers to the spacing between one composable and another composable, with respect of order matters, right?
c
padding is just space and yes, order of modifiers matter
another reason why they maybe/sorta went this way is that margin hasn't aged well IMO. https://mxstbr.com/thoughts/margin/
k
Hmm ok
c
So, padding refers to the spacing between one composable and another composable, with respect of order matters, right? (edited)
Padding is just space. You can call it whatever you want. You can also use the Spacer() composable if you want to. Don't go too crazy overthinking it. There's just no "box model" margin + padding sort of thing if you come from web dev.
k
Ok