val rotationValue by animateFloatAsState(targetValue = if (chatViewModel.showWaitList.value) -180f else 0f)
Image(painter = painterResource(id = triangleImage),
contentDescription = null,
modifier = Modifier
.width(7.dp)
.graphicsLayer {
rotationX =rotationValue
})
chatViewModel.showWaitList.value可以理解为一个val data= remember{ mustatus(true)}的值