rotateVertically

Modifier to rotate the target Composable vertically.

Using Modifier.rotate is arguably broken because it doesn't affect the measurements of the rotated element. See https://stackoverflow.com/questions/70057396/how-to-show-vertical-text-with-proper-size-layout-in-jetpack-compose