@ExperimentalMaterial3AdaptiveApi
sealed interface PaneScaffoldParentData
The parent data passed to pane scaffolds by their contents like panes and drag handles.
Properties
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.
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.
val paneMargins: PaneMargins
The margins that should be applied to the pane.
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.
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.
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.
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.