Hi, I'm trying to port my UI library https://github.com/leinardi/FloatingActionButtonSpeedDial/ to Compose but I'm struggling to recreate the Speed Dial animation from the Material Design website (video of the animation).
I tried to play with the AnimatedVisibility of the ColumnScope but I don't thin it's possible to replicate the same behavior. Not I'm trying to use coroutines to delay the visibility changes of every action item.
Is there a better way to achieve this animation?
t
Tolriq
05/13/2022, 9:42 AM
All animations can be passed specs and most specs support `delayMillis`that you can just set with something like position * item delay.
r
Roberto Leinardi
05/13/2022, 10:13 AM
hey thanks! I think this is way easier than messing manually with Coroutines to delay the animation!