GestureListener constructor

GestureListener({
  1. GestureSinglePointCallback? onTapTest,
  2. GestureCancelCallback? onTapCancel,
  3. GestureSinglePointCallback? onLongPress,
  4. GestureSinglePointCallback? onTap,
  5. GestureSinglePointCallback? onHover,
  6. GestureDragStartCallback? onDragStart,
  7. GestureDragUpdateCallback? onDragUpdate,
  8. GestureDragEndCallback? onDragEnd,
  9. GestureCallback? onFocus,
  10. GestureCallback? onBlur,
})

Implementation

GestureListener({
  GestureSinglePointCallback? onTapTest,
  GestureCancelCallback? onTapCancel,
  this.onLongPress,
  this.onTap,
  this.onHover,
  this.onDragStart,
  this.onDragUpdate,
  this.onDragEnd,
  this.onFocus,
  this.onBlur,
})  : onTapTest = onTapTest ?? defaultTapTest,
      onTapCancel = onTapCancel ?? defaultTapCancel;