Interface

PaneScaffoldParentData

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@ExperimentalMaterial3AdaptiveApi
sealed interface PaneScaffoldParentData

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

Properties

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.

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.

Common
val paneMargins: PaneMargins

The margins that should be applied to the pane.

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.

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.

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.

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.