Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save raghunandankavi2010/f880a57b4028ee21e22680bd054da893 to your computer and use it in GitHub Desktop.
Save raghunandankavi2010/f880a57b4028ee21e22680bd054da893 to your computer and use it in GitHub Desktop.
updated_gist
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