The transition parameters have animation spec which can have duration (e.g. spring does not have duration if I recall correctly)
d
Danish Ansari
06/04/2021, 10:46 AM
Thank you @Filip Wiesner
Simply adding
animationSpec
parameter solved my problem like this
Copy code
animationSpec = tween(durationMillis = 500)
🙌 1
f
Filip Wiesner
06/04/2021, 10:58 AM
Please don't put that much text into the main thread message. The general rule is to make the main thread message as small as possible so posts by other people are visible too.