I have a screen with an Image at one corner of the screen and I want to animate it to the centre of the screen. Something like going from
Icon(
painter = //,
contentDescription = //,
modifier = Modifier.size(36.dp)
)
to
Icon(
painter = //,
contentDescription = //,
modifier = Modifier.fillMaxSize()
)
The first one is placed at the top left corner of screen and the second one at the centre. How can I animate between the two states?
