Interface

PaneScaffoldScope

Scope for the panes of pane scaffolds.

Source set: Common
@ExperimentalMaterial3AdaptiveApi
interface PaneScaffoldScope

Scope for the panes of pane scaffolds.

Functions

preferredWidth

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.

Last updated: