Interface

PaneScaffoldScope

Scope for the panes of pane scaffolds.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Common

Added in 1.0.0-alpha06

@ExperimentalMaterial3AdaptiveApi
interface PaneScaffoldScope

Scope for the panes of pane scaffolds.

Functions

preferredWidth

Added in 1.0.0-alpha06

fun Modifier.preferredWidth(width: Dp): Modifier

This modifier specifies the preferred width for a pane, and the pane scaffold implementation will respect this width whenever possible. In case the modifier is not set or set to Dp.Unspecified, the default preferred widths of the respective scaffold implementation will be used.