Object

ListDetailPaneScaffoldDefaults

Provides default values of ListDetailPaneScaffold.

Source set: Android
@ExperimentalMaterial3AdaptiveApi
object ListDetailPaneScaffoldDefaults

Provides default values of ListDetailPaneScaffold.

Properties

windowInsets

Source set: Android
val windowInsets

Default insets that will be used and consumed by ListDetailPaneScaffold. By default it will be the union of WindowInsets.Companion.systemBars and WindowInsets.Companion.displayCutout.

Functions

adaptStrategies

fun adaptStrategies(
        detailPaneAdaptStrategy: AdaptStrategy = AdaptStrategy.Hide,
        listPaneAdaptStrategy: AdaptStrategy = AdaptStrategy.Hide,
        extraPaneAdaptStrategy: AdaptStrategy = AdaptStrategy.Hide,
    ): ThreePaneScaffoldAdaptStrategies

Creates a default ThreePaneScaffoldAdaptStrategies for ListDetailPaneScaffold.

Parameters

detailPaneAdaptStrategy the adapt strategy of the primary pane
listPaneAdaptStrategy the adapt strategy of the secondary pane
extraPaneAdaptStrategy the adapt strategy of the tertiary pane

Last updated: