There's AnimatedContent
var text by remember { mutableStateOf ("SOME TEXT") }
AnimatedContent(text){
// You must use "it", not "text"
Text(it)
}
Now, it will animate the value, whenever the text
variable changes.
You could manipulate the animation type using the spec
parameter it provides.
* Be the first to Make Comment