---
title: "parentDataModifier"
description: "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."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
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. |




