---
title: "ScreenStage"
description: "[ScreenStage] represents the different stages for a screen, which affect visibility of scaffold
components such as [TimeText] and [ScrollIndicator] with [scrollAway] and other animations."
type: "class"
---

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


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

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public value class ScreenStage internal constructor(internal val value: Int)
```


`ScreenStage` represents the different stages for a screen, which affect visibility of scaffold
components such as `TimeText` and `ScrollIndicator` with `scrollAway` and other animations.


## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val New: ScreenStage
```


Initial stage for a screen when first displayed. It is expected that the `TimeText` and
`ScrollIndicator` are displayed when initially showing a screen.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val Idle: ScreenStage
```


Stage when both the screen is not scrolling and some time has passed after the screen was
initially shown. At this stage, the `TimeText` is expected to be displayed and the
`ScrollIndicator` will be hidden.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val Scrolling: ScreenStage
```


Stage when the screen is being scrolled. At this stage, it is expected that the
`ScrollIndicator` will be shown and `TimeText` will be scrolled away by the scroll
operation.





