value class ScreenStage


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

Summary

Public companion properties

ScreenStage

Stage when both the screen is not scrolling and some time has passed after the screen was initially shown.

ScreenStage

Initial stage for a screen when first displayed.

ScreenStage

Stage when the screen is being scrolled.

Public functions

open String

Public companion properties

Idle

Added in 1.0.0-alpha27
val IdleScreenStage

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.

New

Added in 1.0.0-alpha27
val NewScreenStage

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

Scrolling

Added in 1.0.0-alpha27
val ScrollingScreenStage

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.

Public functions

toString

open fun toString(): String