onHover

fun Modifier.onHover(onHoverChange: (hovered: Boolean) -> Unit): Modifier

Calls onHoverChange when the pointer moves onto this node, and when it moves off it.