TextSelectionGestureDetector constructor
- Key? key,
- VoidCallback? onTapTrackStart,
- VoidCallback? onTapTrackReset,
- GestureTapDragDownCallback? onTapDown,
- GestureForcePressStartCallback? onForcePressStart,
- GestureForcePressEndCallback? onForcePressEnd,
- GestureTapCallback? onSecondaryTap,
- GestureTapDownCallback? onSecondaryTapDown,
- GestureTapDragUpCallback? onSingleTapUp,
- GestureCancelCallback? onSingleTapCancel,
- GestureTapCallback? onUserTap,
- GestureLongPressStartCallback? onSingleLongTapStart,
- GestureLongPressMoveUpdateCallback? onSingleLongTapMoveUpdate,
- GestureLongPressEndCallback? onSingleLongTapEnd,
- GestureTapDragDownCallback? onDoubleTapDown,
- GestureTapDragDownCallback? onTripleTapDown,
- GestureTapDragStartCallback? onDragSelectionStart,
- GestureTapDragUpdateCallback? onDragSelectionUpdate,
- GestureTapDragEndCallback? onDragSelectionEnd,
- bool onUserTapAlwaysCalled = false,
- HitTestBehavior? behavior,
- required Widget child,
Create a TextSelectionGestureDetector.
Multiple callbacks can be called for one sequence of input gesture.
Implementation
const TextSelectionGestureDetector({
super.key,
this.onTapTrackStart,
this.onTapTrackReset,
this.onTapDown,
this.onForcePressStart,
this.onForcePressEnd,
this.onSecondaryTap,
this.onSecondaryTapDown,
this.onSingleTapUp,
this.onSingleTapCancel,
this.onUserTap,
this.onSingleLongTapStart,
this.onSingleLongTapMoveUpdate,
this.onSingleLongTapEnd,
this.onDoubleTapDown,
this.onTripleTapDown,
this.onDragSelectionStart,
this.onDragSelectionUpdate,
this.onDragSelectionEnd,
this.onUserTapAlwaysCalled = false,
this.behavior,
required this.child,
});