Alexander Maryanovsky05/28/2022, 9:56 AM
. Before you ask why I would need that, the animation I’m doing is conditional - in one case I want slideInFromRight with slideOutToLeft, in another case I want slideInFromLeft with slideOutToRight, and in a third case I just want the content to be replaced with no animation. The transitionSpec is defined by a separate function, so in the third case I want it to return “no-animation”. Is there a built-in function for that, or do I need to do something silly like a fadeIn/Out with 0 duration tween?
Albert Chang05/28/2022, 12:46 PM
EnterTransition.None with ExitTransition.None
Doris Liu05/28/2022, 5:49 PM
Zoltan Demant05/29/2022, 6:20 AM