androidx.compose.ui.node

ParentDataModifierNode

Interface · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

A Modifier.Node that provides data to the parent Layout. This can be read from within the the Layout during measurement and positioning, via IntrinsicMeasurable.parentData. The parent data is commonly used to inform the parent how the child Layout should be measured and positioned.

interface ParentDataModifierNode : DelegatableNode

Is a

Functions

modifyParentData

fun Density.modifyParentData(parentData: Any?): Any?

Provides a parentData, given the parentData already provided through the modifier's chain.

Library docs

A Modifier.Node that provides data to the parent Layout. This can be read from within the the Layout during measurement and positioning, via IntrinsicMeasurable.parentData. The parent data is commonly used to inform the parent how the child Layout should be measured and positioned.

This is the androidx.compose.ui.Modifier.Node equivalent of androidx.compose.ui.layout.ParentDataModifier