SimpleSwipeConfig class

Configuration class for swipe gesture.

Constructors

SimpleSwipeConfig({double verticalThreshold = 50.0, double horizontalThreshold = 50.0, SwipeDetectionBehavior swipeDetectionBehavior = SwipeDetectionBehavior.singularOnEnd})
Creates a SimpleSwipeConfig object.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
horizontalThreshold double
Amount of offset after which horizontal swipes get detected.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
swipeDetectionBehavior SwipeDetectionBehavior
Behavior used for swipe gesture detection. By default, SwipeDetectionBehavior.singularOnEnd is used, which runs callback after swipe is completed. Use SwipeDetectionBehavior.continuous for most reactive behavior but be careful with threshold values.
final
verticalThreshold double
Amount of offset after which vertical swipes get detected.
final

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