Interface

PaneScaffoldParentData

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

Source set: Common
@ExperimentalMaterial3AdaptiveApi
sealed interface PaneScaffoldParentData

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

Properties

preferredWidth

Source set: Common
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
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
val paneMargins: PaneMargins

The margins that should be applied to the pane.

preferredWidthInProportion

Source set: Common
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
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
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
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.

Last updated: