Function

invalidateRulers

Recalculates the Ruler values this node provides, without remeasuring or re-placing the node.

InvalidateRulersSample

@Sampled
fun InvalidateRulersSample() {
    val ContentBottomRuler = HorizontalRuler()

    // Provides ContentBottomRuler at bottomInset pixels above the bottom of the layout.
    class ContentBottomRulerNode(var bottomInset: Int) : Modifier.Node(), LayoutModifierNode {
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: