EasyGesture constructor

const EasyGesture({
  1. Key? key,
  2. void onTap()?,
  3. void onDoubleTap()?,
  4. void onLongPress()?,
  5. void onHorizontalSwipe(
    1. EasySwipeDirection
    )?,
  6. void onVerticalSwipe(
    1. EasySwipeDirection
    )?,
  7. double horizontalThreshold = 40,
  8. double verticalThreshold = 40,
  9. required Widget child,
})

Implementation

const EasyGesture(
    {Key? key,
    this.onTap,
    this.onDoubleTap,
    this.onLongPress,
    this.onHorizontalSwipe,
    this.onVerticalSwipe,
    this.horizontalThreshold = 40,
    this.verticalThreshold = 40,
    required this.child})
    : super(key: key);