onEnd

fun onEnd(preservePositionForKey: Key? = null)

Ends the active gesture. When preservePositionForKey is supplied, that key's current animated position is kept so an action surface revealed by the gesture remains interactive; all other affected keys settle normally.