offset
The current offset, or null if it has not been initialized yet.
The offset will be initialized during the first measurement phase of the node that the swipeableV2 modifier is attached to. These are the phases: Composition { -> Effects } -> Layout { Measurement -> Placement } -> Drawing During the first composition, the offset will be null. In subsequent compositions, the offset will be derived from the anchors of the previous pass. Always prefer accessing the offset from a LaunchedEffect as it will be scheduled to be executed the next frame, after layout.
To guarantee stricter semantics, consider using requireOffset.