Function

parentDataModifier

A [CurvedModifier] that provides data to the parent layout.

parentDataModifier

Android
public fun CurvedModifier.parentDataModifier(modifyParentData: (Any?) -> Any?): CurvedModifier

A CurvedModifier that provides data to the parent layout. The parent data is commonly used to inform the parent how the child Layout should be measured and positioned.

Parameters

modifyParentData provides a parentData, given the parentData provided through the modifier's chain.