Created
June 27, 2022 16:36
-
-
Save raghunandankavi2010/0af8598849a50a35342de057a26c244d to your computer and use it in GitHub Desktop.
Animating Progess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LaunchedEffect(greyAnimate,yellowAnimate,redAnimate,greenAnimate,redAnimate) { | |
launch { | |
greenAnimate.animateTo( | |
targetValue = 1f, | |
animationSpec = tween(durationMillis = 3000, easing = LinearEasing)) | |
yellowAnimate.animateTo( | |
targetValue = 1f, | |
animationSpec = tween(durationMillis = 3000, easing = LinearEasing)) | |
redAnimate.animateTo( | |
targetValue = 1f, | |
animationSpec = tween(durationMillis = 3000, easing = LinearEasing)) | |
greyAnimate.animateTo( | |
targetValue = 1f, | |
animationSpec = tween(durationMillis = 3000, easing = LinearEasing)) | |
remainingAnimate.animateTo( | |
targetValue = 1f, | |
animationSpec = tween(durationMillis = 3000, easing = LinearEasing)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment