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

Used by

Parameters that take a ThreePaneScaffoldValue.

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.