androidx.compose.material3.adaptive.layout

ListDetailPaneScaffoldRole

Object · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0

No hand-written docs yet.

The set of the available pane roles of ListDetailPaneScaffold. Those roles map to their corresponding ThreePaneScaffoldRole, which is a generic role definition across all types of three pane scaffolds. We suggest you to use the values defined here instead of the raw ThreePaneScaffoldRole under the context of ListDetailPaneScaffold for better code clarity.

object ListDetailPaneScaffoldRole

Properties

List

val List: Color

The list pane of ListDetailPaneScaffold, which is supposed to hold a list of item summaries that can be selected from, for example, the inbox mail list of a mail app. It maps to ThreePaneScaffoldRole.Secondary.

Detail

val Detail: Color

The detail pane of ListDetailPaneScaffold, which is supposed to hold the detailed info of a selected item, for example, the mail content currently being viewed. It maps to ThreePaneScaffoldRole.Primary.

Extra

val Extra: Color

The extra pane of ListDetailPaneScaffold, which is supposed to hold any supplementary info besides the list and the detail panes, for example, a task list or a mini-calendar view of a mail app. It maps to ThreePaneScaffoldRole.Tertiary.

Library docs

The set of the available pane roles of ListDetailPaneScaffold. Those roles map to their corresponding ThreePaneScaffoldRole, which is a generic role definition across all types of three pane scaffolds. We suggest you to use the values defined here instead of the raw ThreePaneScaffoldRole under the context of ListDetailPaneScaffold for better code clarity.