gestureDetect method

GestureDetector gestureDetect({
  1. Key? key,
  2. GestureTapDownCallback? onTapDown,
  3. GestureTapUpCallback? onTapUp,
  4. GestureTapCallback? onTap,
  5. GestureTapCancelCallback? onTapCancel,
  6. GestureTapCallback? onSecondaryTap,
  7. GestureTapDownCallback? onSecondaryTapDown,
  8. GestureTapUpCallback? onSecondaryTapUp,
  9. GestureTapCancelCallback? onSecondaryTapCancel,
  10. GestureTapDownCallback? onTertiaryTapDown,
  11. GestureTapUpCallback? onTertiaryTapUp,
  12. GestureTapCancelCallback? onTertiaryTapCancel,
  13. GestureTapDownCallback? onDoubleTapDown,
  14. GestureTapCallback? onDoubleTap,
  15. GestureTapCancelCallback? onDoubleTapCancel,
  16. GestureLongPressDownCallback? onLongPressDown,
  17. GestureLongPressCancelCallback? onLongPressCancel,
  18. GestureLongPressCallback? onLongPress,
  19. GestureLongPressStartCallback? onLongPressStart,
  20. GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate,
  21. GestureLongPressUpCallback? onLongPressUp,
  22. GestureLongPressEndCallback? onLongPressEnd,
  23. GestureLongPressDownCallback? onSecondaryLongPressDown,
  24. GestureLongPressCancelCallback? onSecondaryLongPressCancel,
  25. GestureLongPressCallback? onSecondaryLongPress,
  26. GestureLongPressStartCallback? onSecondaryLongPressStart,
  27. GestureLongPressMoveUpdateCallback? onSecondaryLongPressMoveUpdate,
  28. GestureLongPressUpCallback? onSecondaryLongPressUp,
  29. GestureLongPressEndCallback? onSecondaryLongPressEnd,
  30. GestureLongPressDownCallback? onTertiaryLongPressDown,
  31. GestureLongPressCancelCallback? onTertiaryLongPressCancel,
  32. GestureLongPressCallback? onTertiaryLongPress,
  33. GestureLongPressStartCallback? onTertiaryLongPressStart,
  34. GestureLongPressMoveUpdateCallback? onTertiaryLongPressMoveUpdate,
  35. GestureLongPressUpCallback? onTertiaryLongPressUp,
  36. GestureLongPressEndCallback? onTertiaryLongPressEnd,
  37. GestureDragDownCallback? onVerticalDragDown,
  38. GestureDragStartCallback? onVerticalDragStart,
  39. GestureDragUpdateCallback? onVerticalDragUpdate,
  40. GestureDragEndCallback? onVerticalDragEnd,
  41. GestureDragCancelCallback? onVerticalDragCancel,
  42. GestureDragDownCallback? onHorizontalDragDown,
  43. GestureDragStartCallback? onHorizontalDragStart,
  44. GestureDragUpdateCallback? onHorizontalDragUpdate,
  45. GestureDragEndCallback? onHorizontalDragEnd,
  46. GestureDragCancelCallback? onHorizontalDragCancel,
  47. GestureForcePressStartCallback? onForcePressStart,
  48. GestureForcePressPeakCallback? onForcePressPeak,
  49. GestureForcePressUpdateCallback? onForcePressUpdate,
  50. GestureForcePressEndCallback? onForcePressEnd,
  51. GestureDragDownCallback? onPanDown,
  52. GestureDragStartCallback? onPanStart,
  53. GestureDragUpdateCallback? onPanUpdate,
  54. GestureDragEndCallback? onPanEnd,
  55. GestureDragCancelCallback? onPanCancel,
  56. GestureScaleStartCallback? onScaleStart,
  57. GestureScaleUpdateCallback? onScaleUpdate,
  58. GestureScaleEndCallback? onScaleEnd,
  59. HitTestBehavior? behavior,
  60. bool excludeFromSemantics = false,
  61. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})

Implementation

GestureDetector gestureDetect({
  Key? key,
  GestureTapDownCallback? onTapDown,
  GestureTapUpCallback? onTapUp,
  GestureTapCallback? onTap,
  GestureTapCancelCallback? onTapCancel,
  GestureTapCallback? onSecondaryTap,
  GestureTapDownCallback? onSecondaryTapDown,
  GestureTapUpCallback? onSecondaryTapUp,
  GestureTapCancelCallback? onSecondaryTapCancel,
  GestureTapDownCallback? onTertiaryTapDown,
  GestureTapUpCallback? onTertiaryTapUp,
  GestureTapCancelCallback? onTertiaryTapCancel,
  GestureTapDownCallback? onDoubleTapDown,
  GestureTapCallback? onDoubleTap,
  GestureTapCancelCallback? onDoubleTapCancel,
  GestureLongPressDownCallback? onLongPressDown,
  GestureLongPressCancelCallback? onLongPressCancel,
  GestureLongPressCallback? onLongPress,
  GestureLongPressStartCallback? onLongPressStart,
  GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate,
  GestureLongPressUpCallback? onLongPressUp,
  GestureLongPressEndCallback? onLongPressEnd,
  GestureLongPressDownCallback? onSecondaryLongPressDown,
  GestureLongPressCancelCallback? onSecondaryLongPressCancel,
  GestureLongPressCallback? onSecondaryLongPress,
  GestureLongPressStartCallback? onSecondaryLongPressStart,
  GestureLongPressMoveUpdateCallback? onSecondaryLongPressMoveUpdate,
  GestureLongPressUpCallback? onSecondaryLongPressUp,
  GestureLongPressEndCallback? onSecondaryLongPressEnd,
  GestureLongPressDownCallback? onTertiaryLongPressDown,
  GestureLongPressCancelCallback? onTertiaryLongPressCancel,
  GestureLongPressCallback? onTertiaryLongPress,
  GestureLongPressStartCallback? onTertiaryLongPressStart,
  GestureLongPressMoveUpdateCallback? onTertiaryLongPressMoveUpdate,
  GestureLongPressUpCallback? onTertiaryLongPressUp,
  GestureLongPressEndCallback? onTertiaryLongPressEnd,
  GestureDragDownCallback? onVerticalDragDown,
  GestureDragStartCallback? onVerticalDragStart,
  GestureDragUpdateCallback? onVerticalDragUpdate,
  GestureDragEndCallback? onVerticalDragEnd,
  GestureDragCancelCallback? onVerticalDragCancel,
  GestureDragDownCallback? onHorizontalDragDown,
  GestureDragStartCallback? onHorizontalDragStart,
  GestureDragUpdateCallback? onHorizontalDragUpdate,
  GestureDragEndCallback? onHorizontalDragEnd,
  GestureDragCancelCallback? onHorizontalDragCancel,
  GestureForcePressStartCallback? onForcePressStart,
  GestureForcePressPeakCallback? onForcePressPeak,
  GestureForcePressUpdateCallback? onForcePressUpdate,
  GestureForcePressEndCallback? onForcePressEnd,
  GestureDragDownCallback? onPanDown,
  GestureDragStartCallback? onPanStart,
  GestureDragUpdateCallback? onPanUpdate,
  GestureDragEndCallback? onPanEnd,
  GestureDragCancelCallback? onPanCancel,
  GestureScaleStartCallback? onScaleStart,
  GestureScaleUpdateCallback? onScaleUpdate,
  GestureScaleEndCallback? onScaleEnd,
  HitTestBehavior? behavior,
  bool excludeFromSemantics = false,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) =>
    GestureDetector(
      key: key,
      onTapDown: onTapDown,
      onTapUp: onTapUp,
      onTap: onTap,
      onTapCancel: onTapCancel,
      onSecondaryTap: onSecondaryTap,
      onSecondaryTapDown: onSecondaryTapDown,
      onSecondaryTapUp: onSecondaryTapUp,
      onSecondaryTapCancel: onSecondaryTapCancel,
      onTertiaryTapDown: onTertiaryTapDown,
      onTertiaryTapUp: onTertiaryTapUp,
      onTertiaryTapCancel: onTertiaryTapCancel,
      onDoubleTapDown: onDoubleTapDown,
      onDoubleTap: onDoubleTap,
      onDoubleTapCancel: onDoubleTapCancel,
      onLongPressDown: onLongPressDown,
      onLongPressCancel: onLongPressCancel,
      onLongPress: onLongPress,
      onLongPressStart: onLongPressStart,
      onLongPressMoveUpdate: onLongPressMoveUpdate,
      onLongPressUp: onLongPressUp,
      onLongPressEnd: onLongPressEnd,
      onSecondaryLongPressDown: onSecondaryLongPressDown,
      onSecondaryLongPressCancel: onSecondaryLongPressCancel,
      onSecondaryLongPress: onSecondaryLongPress,
      onSecondaryLongPressStart: onSecondaryLongPressStart,
      onSecondaryLongPressMoveUpdate: onSecondaryLongPressMoveUpdate,
      onSecondaryLongPressUp: onSecondaryLongPressUp,
      onSecondaryLongPressEnd: onSecondaryLongPressEnd,
      onTertiaryLongPressDown: onTertiaryLongPressDown,
      onTertiaryLongPressCancel: onTertiaryLongPressCancel,
      onTertiaryLongPress: onTertiaryLongPress,
      onTertiaryLongPressStart: onTertiaryLongPressStart,
      onTertiaryLongPressMoveUpdate: onTertiaryLongPressMoveUpdate,
      onTertiaryLongPressUp: onTertiaryLongPressUp,
      onTertiaryLongPressEnd: onTertiaryLongPressEnd,
      onVerticalDragDown: onVerticalDragDown,
      onVerticalDragStart: onVerticalDragStart,
      onVerticalDragUpdate: onVerticalDragUpdate,
      onVerticalDragEnd: onVerticalDragEnd,
      onVerticalDragCancel: onVerticalDragCancel,
      onHorizontalDragDown: onHorizontalDragDown,
      onHorizontalDragStart: onHorizontalDragStart,
      onHorizontalDragUpdate: onHorizontalDragUpdate,
      onHorizontalDragEnd: onHorizontalDragEnd,
      onHorizontalDragCancel: onHorizontalDragCancel,
      onForcePressStart: onForcePressStart,
      onForcePressPeak: onForcePressPeak,
      onForcePressUpdate: onForcePressUpdate,
      onForcePressEnd: onForcePressEnd,
      onPanDown: onPanDown,
      onPanStart: onPanStart,
      onPanUpdate: onPanUpdate,
      onPanEnd: onPanEnd,
      onPanCancel: onPanCancel,
      onScaleStart: onScaleStart,
      onScaleUpdate: onScaleUpdate,
      onScaleEnd: onScaleEnd,
      behavior: behavior,
      excludeFromSemantics: excludeFromSemantics,
      dragStartBehavior: dragStartBehavior,
      child: this,
    );