Yuri Drigin
06/02/2021, 3:03 PMCrossfade
cannot be use inside Row scope ((Doris Liu
06/02/2021, 4:56 PMCrossfade
should work in RowScope, although it won't automatically change size for you. What is your use case?Doris Liu
06/02/2021, 6:27 PMModifier.animateContentSize
to either Crossfade
or Row
if you need the size change to be animated.Yuri Drigin
06/03/2021, 5:07 AMCrossfade(targetState = …)
ziv kesten
12/28/2021, 2:49 PMDoris Liu
01/04/2022, 6:35 PMCrossfade
doesn't currently support that, but you could consider using AnimatedContent
and leverage the contentAlignment
parameter.ziv kesten
01/06/2022, 9:59 AM