Skip to content

Instantly share code, notes, and snippets.

@arcadefire
Last active Sep 12, 2021
Embed
What would you like to do?
Offset modifiers
Box(
Modifier
.swipeable(/* ... */)
.offset {
IntOffset(
x = 0,
y = swipeableState.offset.value.roundToInt()
)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment