invalidateLayer
Source set: 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.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
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.
Last updated: