Interface

PaneScaffoldParentData

The parent data passed to pane scaffolds by their contents like panes and drag handles.

Source set: Common
public sealed interface PaneScaffoldParentData

The parent data passed to pane scaffolds by their contents like panes and drag handles.

Properties

preferredWidth

Source set: Common
public val preferredWidth: Dp

The preferred width of the pane, which is supposed to be set via PaneScaffoldScope.preferredWidth on a pane composable, like AnimatedPane. Note that this won't take effect on drag handle composables with the default scaffold implementations.

preferredHeight

Source set: Common
public val preferredHeight: Dp

The preferred height of the pane, which is supposed to be set via PaneScaffoldScope.preferredHeight on a pane composable, like AnimatedPane. Note that this won't take effect on drag handle composables with the default scaffold implementations.

paneMargins

Source set: Common
public val paneMargins: PaneMargins

The margins that should be applied to the pane.

preferredWidthInProportion

Source set: Common
public val preferredWidthInProportion: Float

The preferred width of the pane as a proportion to the overall scaffold width, represented as a float value ranging from 0 to 1. It is supposed to be set via PaneScaffoldScope.preferredWidth on a pane composable, like AnimatedPane. Note that this won't take effect on drag handle composables with the default scaffold implementations.

preferredHeightInProportion

Source set: Common
public val preferredHeightInProportion: Float

The preferred height of the pane as a proportion to the overall scaffold height, represented as a float value ranging from 0 to 1. It is supposed to be set via PaneScaffoldScope.preferredHeight on a pane composable, like AnimatedPane. Note that this won't take effect on drag handle composables with the default scaffold implementations.

isAnimatedPane

Source set: Common
public val isAnimatedPane: Boolean

true to indicate that the pane is an AnimatedPane; otherwise false. Note that this won't take effect on drag handle composables with the default scaffold implementations.

minTouchTargetSize

Source set: Common
public val minTouchTargetSize: Dp

The minimum touch target size of the child, which is supposed to be set via PaneScaffoldScope.paneExpansionDraggable on a drag handle component. Note that this won't take effect on pane composables with the default scaffold implementations.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: