SwipeThresholds
data class SwipeThresholds(val activation: Dp?, val confirmationMinDistance: Dp, val confirmationVelocity: Dp, val offAxisCancellation: Dp)
Properties
Link copied to clipboard
Threshold for activating the swipe gesture detection. If null, uses the default touch slop value from view configuration.
Link copied to clipboard
Minimum distance the swipe must travel to be confirmed.
Link copied to clipboard
Velocity threshold required for swipe confirmation
Link copied to clipboard
Distance that triggers cancellation when swiping away from the permitted swipe direction.