setVisible

fun setVisible(visible: Boolean, animation: Animation, onFinished: Callback? = null)

Manages visibility of the object with a transition between the visible and not visible states.

Use the visible parameter of the composable for a plain, non-animated change.