<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
public enum class EnterExitState
```


`EnterExitState` contains the three states that are involved in the enter and exit transition of
`AnimatedVisibility`. More specifically, `PreEnter` and `Visible` defines the initial and target
state of an *enter* transition, whereas `Visible` and `PostExit` are the initial and target state
of an *exit* transition.

See blow for an example of custom enter/exit animation in `AnimatedVisibility` using
`Transition<EnterExitState>` (i.e. `AnimatedVisibilityScope.transition`):