androidx.compose.material3.adaptive.layout
ThreePaneScaffoldValueExperimental
Class · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0
No hand-written docs yet.
The adapted value of ThreePaneScaffold. It contains each pane's adapted value. ThreePaneScaffold will use the adapted values to decide which panes should be displayed and how they should be displayed. With other input parameters of ThreePaneScaffold fixed, each possible instance of this class should represent a unique state of ThreePaneScaffold and developers can compare two ThreePaneScaffoldValue to decide if there is a layout structure change.
class ThreePaneScaffoldValue : PaneScaffoldValue<ThreePaneScaffoldRole>, PaneExpansionStateKeyProvider
Is a
How to get one
Ready-made values and functions that return it
ThreePaneScaffoldNavigator:scaffoldValue,peekPreviousScaffoldValue()ThreePaneScaffoldState:currentState,targetStatecalculateThreePaneScaffoldValue()exp
Used by
Parameters that take a ThreePaneScaffoldValue.
ListDetailPaneScaffold(value)MutableThreePaneScaffoldState.animateTo(targetState)MutableThreePaneScaffoldState.seekTo(targetState)MutableThreePaneScaffoldState.snapTo(targetState)SupportingPaneScaffold(value)
Properties
primary
val primary: PaneAdaptedValue
secondary
val secondary: PaneAdaptedValue
tertiary
val tertiary: PaneAdaptedValue
Library docs
The adapted value of ThreePaneScaffold. It contains each pane's adapted value.
ThreePaneScaffold will use the adapted values to decide which panes should be displayed and how
they should be displayed. With other input parameters of ThreePaneScaffold fixed, each possible
instance of this class should represent a unique state of ThreePaneScaffold and developers can
compare two ThreePaneScaffoldValue to decide if there is a layout structure change.
For a Material-opinionated layout, it's suggested to use calculateThreePaneScaffoldValue to
calculate the current scaffold value.