SupportingPaneScaffold

Composable Component

A Material opinionated implementation of ThreePaneScaffold that will display the provided three panes in a canonical supporting-pane layout.

Android
@ExperimentalMaterial3AdaptiveApi
@Composable
fun SupportingPaneScaffold(
    supportingPane: @Composable ThreePaneScaffoldScope.() -> Unit,
    modifier: Modifier = Modifier,
    scaffoldState: ThreePaneScaffoldState = calculateSupportingPaneScaffoldState(),
    windowInsets: WindowInsets = SupportingPaneScaffoldDefaults.windowInsets,
    extraPane: (@Composable ThreePaneScaffoldScope.() -> Unit)? = null,
    mainPane: @Composable ThreePaneScaffoldScope.() -> Unit
)

Parameters

supportingPanethe supporting pane of the scaffold. See SupportingPaneScaffoldRole.Supporting.
modifierModifier of the scaffold layout.
scaffoldStatethe state of the scaffold, which provides the current scaffold directive and scaffold value.
windowInsetswindow insets that the scaffold will respect.
extraPanethe extra pane of the scaffold. See SupportingPaneScaffoldRole.Extra.
mainPanethe main pane of the scaffold. See SupportingPaneScaffoldRole.Main.