TextSelectionGestureDetectorModifier constructor
const
TextSelectionGestureDetectorModifier({
- Key? key,
- Key? modifierKey,
- Widget? child,
- GestureTapDownCallback? onTapDown,
- GestureForcePressStartCallback? onForcePressStart,
- GestureForcePressEndCallback? onForcePressEnd,
- GestureTapCallback? onSecondaryTap,
- GestureTapDownCallback? onSecondaryTapDown,
- GestureTapUpCallback? onSingleTapUp,
- GestureTapCancelCallback? onSingleTapCancel,
- GestureLongPressStartCallback? onSingleLongTapStart,
- GestureLongPressMoveUpdateCallback? onSingleLongTapMoveUpdate,
- GestureLongPressEndCallback? onSingleLongTapEnd,
- GestureTapDownCallback? onDoubleTapDown,
- GestureDragStartCallback? onDragSelectionStart,
- dynamic onDragSelectionUpdate,
- GestureDragEndCallback? onDragSelectionEnd,
- HitTestBehavior? behavior,
Create a TextSelectionGestureDetector.
Multiple callbacks can be called for one sequence of input gesture.
The child
parameter must not be null.
Implementation
const TextSelectionGestureDetectorModifier({
super.key,
super.modifierKey,
super.child,
this.onTapDown,
this.onForcePressStart,
this.onForcePressEnd,
this.onSecondaryTap,
this.onSecondaryTapDown,
this.onSingleTapUp,
this.onSingleTapCancel,
this.onSingleLongTapStart,
this.onSingleLongTapMoveUpdate,
this.onSingleLongTapEnd,
this.onDoubleTapDown,
this.onDragSelectionStart,
this.onDragSelectionUpdate,
this.onDragSelectionEnd,
this.behavior,
});