Function

invalidateLayer

This will invalidate the current node's layer, and ensure that the layer is redrawn for the next frame.

invalidateLayer

Common
fun LayoutModifierNode.invalidateLayer() = requireCoordinator(Nodes.Layout).invalidateLayer()

This will invalidate the current node's layer, and ensure that the layer is redrawn for the next frame.