SwipeToDismissBoxBehavior class abstract final

What Compose's SwipeToDismissBox sets in code (behavior.yaml, verified at the pin).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

positionalThreshold → const Dp
How far a swipe must travel from its resting anchor to settle on the next one when released slower than the velocity threshold (SwipeToDismissBoxDefaults.positionalThreshold). (SwipeToDismissBox.kt line 375.)
velocityThreshold → const Dp
The release speed, in dp per second, at or above which a swipe settles on the next anchor in its direction whatever its distance (DismissVelocityThreshold). (SwipeToDismissBox.kt line 406.)