GestureListener constructor
GestureListener({
- GestureSinglePointCallback? onTapTest,
- GestureCancelCallback? onTapCancel,
- GestureSinglePointCallback? onLongPress,
- GestureSinglePointCallback? onTap,
- GestureSinglePointCallback? onHover,
- GestureDragStartCallback? onDragStart,
- GestureDragUpdateCallback? onDragUpdate,
- GestureDragEndCallback? onDragEnd,
- GestureCallback? onFocus,
- 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;