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.
This will invalidate the current node's layer, and ensure that the layer is redrawn for the next frame.
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.