Object

SupportingPaneScaffoldRole

The set of the available pane roles of SupportingPaneScaffold.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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

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.

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.

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.