remeasureSync

Function

Common
fun LayoutModifierNode.remeasureSync() = requireLayoutNode().forceRemeasure()

Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before. Useful for cases like when during scrolling you need to re-execute the measure block to consume the scroll offset and remeasure your children in a blocking way.