Alex Vanyo
06/24/2024, 10:58 PMRow and Column, what approach do you use the most?
1. Modifier.onGloballyPositioned /`Modifier.onPlaced` / Modifier.onSizeChanged
2. Custom Layout
3. Subcomposition (BoxWithConstraints, etc.)Ben Trengrove [G]
06/24/2024, 11:50 PMAlex Vanyo
06/24/2024, 11:52 PMFlowRow and LazyVerticalGrid as primitives. Complicated primitives, but not “custom”Trejkaz
06/25/2024, 12:00 AMTrejkaz
06/25/2024, 12:01 AMTrejkaz
06/25/2024, 12:03 AMTrejkaz
06/25/2024, 12:03 AMephemient
06/25/2024, 12:06 AMTrejkaz
06/25/2024, 12:07 AMTrejkaz
06/25/2024, 12:07 AMAlex Vanyo
06/25/2024, 12:13 AMTrejkaz
06/25/2024, 12:14 AMTrejkaz
06/25/2024, 12:15 AMTrejkaz
06/25/2024, 12:15 AMTrejkaz
06/25/2024, 12:15 AMeygraber
06/25/2024, 1:28 AMTolriq
06/25/2024, 5:26 AMmohamed rejeb
06/25/2024, 7:00 AMModifier.onGloballyPositioned and in some cases where performance matters I use Layout to avoid some recompositions.Stylianos Gakis
06/25/2024, 9:49 AM.fillMaxHeight().onPlaced{save the height here to use somewhere else}.verticalScroll in some places.
Haven't used onGloballyPositioned anywhere yet, onPlaced has always been the thing that suited my needs when I reached for that.
Haven't really used BoxWithConstraints I think.
Layout for everything else.