public interface LayoutAwareModifierNode : MeasuredSizeAwareModifierNode, DelegatableNode
A androidx.compose.ui.Modifier.Node which receives various callbacks in response to local changes in layout.
This is the androidx.compose.ui.Modifier.Node equivalent of androidx.compose.ui.layout.OnRemeasuredModifier and androidx.compose.ui.layout.OnPlacedModifier
Example usage:
Functions
onPlaced
@EmptySuper public fun onPlaced(coordinates: LayoutCoordinates): Unit
onPlaced is called after the parent LayoutModifier and parent layout has been placed and before child LayoutModifier is placed. This allows child LayoutModifier to adjust its own placement based on where the parent is.
If you only need to access the current LayoutCoordinates at a single point in time from outside this method, use requireLayoutCoordinates.