Class

ThreePaneScaffoldAdaptStrategies

The adaptation specs of ThreePaneScaffold.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@ExperimentalMaterial3AdaptiveApi
class ThreePaneScaffoldAdaptStrategies(
    private val primaryPaneAdaptStrategy: AdaptStrategy,
    private val secondaryPaneAdaptStrategy: AdaptStrategy,
    private val tertiaryPaneAdaptStrategy: AdaptStrategy,
)

The adaptation specs of ThreePaneScaffold. This class denotes how each pane of ThreePaneScaffold should be adapted. It should be used as an input parameter of calculateThreePaneScaffoldValue to decide the ThreePaneScaffoldValue.

Parameters

primaryPaneAdaptStrategy AdaptStrategy of the primary pane of ThreePaneScaffold
secondaryPaneAdaptStrategy AdaptStrategy of the secondary pane of ThreePaneScaffold
tertiaryPaneAdaptStrategy AdaptStrategy of the tertiary pane of ThreePaneScaffold

Functions

get

operator fun get(role: ThreePaneScaffoldRole): AdaptStrategy