androidx.compose.material3.adaptive.layout
PaneScaffoldTransitionScopeSince 1.1Experimental
Sealed interface · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0
No hand-written docs yet.
The transition scope of pane scaffold implementations, which provides the current transition info of the associated pane scaffold.
sealed interface PaneScaffoldTransitionScope<Role : PaneScaffoldRole, ScaffoldValue : PaneScaffoldValue<Role>>
Kinds of PaneScaffoldTransitionScope
Anywhere a PaneScaffoldTransitionScope is expected, you can pass any of these.
How to get one
Or create one of the kinds listed above.
Properties
scaffoldStateTransition
val scaffoldStateTransition: Transition<ScaffoldValue>
The current scaffold state transition between PaneScaffoldValues.
motionProgress
val motionProgress: Float
The current motion progress.
motionDataProvider
val motionDataProvider: PaneScaffoldMotionDataProvider<Role>
Provides measurement and other data required in motion calculation like the size and offset of each pane before and after the motion.
Library docs
The transition scope of pane scaffold implementations, which provides the current transition info of the associated pane scaffold.