Class

ThreePaneScaffoldState

A read-only state of a three pane scaffold.

Source set: Common
public sealed class ThreePaneScaffoldState

A read-only state of a three pane scaffold. It provides information about the Transition between ThreePaneScaffoldValues.

Properties

currentState

Source set: Common
public abstract val currentState: ThreePaneScaffoldValue

Current ThreePaneScaffoldValue state of the transition. If there is an active transition, currentState and targetState are different.

targetState

Source set: Common
public abstract val targetState: ThreePaneScaffoldValue

Target ThreePaneScaffoldValue state of the transition. If this is the same as currentState, no transition is active.

progressFraction

Source set: Common
@get:FloatRange(from = 0.0, to = 1.0) public abstract val progressFraction: Float

The progress of the transition from currentState to targetState as a fraction of the entire duration.

If targetState and currentState are the same, progressFraction will be 0.

isPredictiveBackInProgress

Source set: Common
public abstract val isPredictiveBackInProgress: Boolean

Whether a predictive back navigation is currently in progress.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: