Object

SupportingPaneScaffoldRole

The set of the available pane roles of SupportingPaneScaffold.

Source set: Common
@ExperimentalMaterial3AdaptiveApi
object SupportingPaneScaffoldRole

The set of the available pane roles of SupportingPaneScaffold. 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 SupportingPaneScaffold for better code clarity.

Properties

Main

Source set: Common
val Main = ThreePaneScaffoldRole.Primary

The main pane of SupportingPaneScaffold, which is supposed to hold the major content of an app, for example, the editing screen of a doc app. It maps to ThreePaneScaffoldRole.Primary.

Supporting

Source set: Common
val Supporting = ThreePaneScaffoldRole.Secondary

The supporting pane of SupportingPaneScaffold, which is supposed to hold the support content of an app, for example, the comment list of a doc app. It maps to ThreePaneScaffoldRole.Secondary.

Extra

Source set: Common
val Extra = ThreePaneScaffoldRole.Tertiary

The extra pane of SupportingPaneScaffold, which is supposed to hold any additional content besides the main and the supporting panes, for example, a styling panel in a doc app. It maps to ThreePaneScaffoldRole.Tertiary.

Last updated: