Function

parentDataModifier

A CurvedModifier that provides data to the parent layout.

parentDataModifier

Source set: 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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: