Animate Back Arrow to Close Icon in Compose
This is a simple demo for animated vector drawables in compose.
In this example, the back button animates between a back arrow and a close button
Acknowledgements
The rotation animation was inspired by this post: https://rubygarage.org/blog/how-to-create-morphing-animation