public 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.
Functions
toString
override fun toString(): String
Members
Companion
public companion object
Properties
New
public val New: ScreenStage = ScreenStage(0)
Initial stage for a screen when first displayed. It is expected that the TimeText and ScrollIndicator are displayed when initially showing a screen.
Idle
public val Idle: ScreenStage = ScreenStage(1)
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.
Scrolling
public val Scrolling: ScreenStage = ScreenStage(2)
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.