Abhimanyu
07/21/2023, 11:06 AMonSizeChanged
or onGloballyPositioned
.
Is there any use-case to prefer onGloballyPositioned
over onSizeChanged
when only size changes are in consideration?Stylianos Gakis
07/21/2023, 11:16 AM.onPlaced
for this, you get the layout coords in the parent and the size of your layout too. The global one I suppose is there for if you care for position relative to the screen, and not relative to the parentAbhimanyu
07/21/2023, 11:43 AMAndrey Kulikov
07/22/2023, 12:43 PMStylianos Gakis
07/22/2023, 12:53 PM