Jonathan
09/30/2025, 2:59 PMArrangement.spacedBy(NUMBER.dp) or a Spacer(…) in `Column`/`Row` or performance indistinguishable.Guillaume B
09/30/2025, 3:01 PMbishiboosh
09/30/2025, 3:02 PMspacedBy will do the computation globally.
Other than that, agree with @Guillaume B that it's more clear imhoVidmantas Kerbelis
09/30/2025, 4:43 PMspacedBy up until the point where you need visibility animations (disappearing items, e.g. using AnimatedVisibility). As that makes a very glitchy animation, as when one of the items disappears, the additional spacedBy padding for said item disappears in a glitchy manner (0 duration) when the full animation of AnimatedVisibility ends.Jonathan
09/30/2025, 5:54 PMSpacer() , I think placement, should be the job of the parent layout. If I custom spacing for a given child, I opt for using Modifier.padding(...). A project I’m working on using Spacers and I wanted to know if there were any performance differences.Vidmantas Kerbelis
10/01/2025, 5:13 AMarrangement is more performant, as adding a Spacer adds a Layout() composable. So basically +1 node. And in the case of arrangement it's just additional math in the measruement/layout calls in an already present composable. So, presuming a little bit more math > a new basic composable