Object

ListDetailPaneScaffoldDefaults

Provides default values of ListDetailPaneScaffold.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
@ExperimentalMaterial3AdaptiveApi
object ListDetailPaneScaffoldDefaults

Provides default values of ListDetailPaneScaffold.

Properties

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