EditorTextSelectionGestureDetector constructor
const
EditorTextSelectionGestureDetector({
- required Widget child,
- GestureTapDownCallback? onTapDown,
- GestureForcePressStartCallback? onForcePressStart,
- GestureForcePressEndCallback? onForcePressEnd,
- GestureTapUpCallback? onSingleTapUp,
- GestureTapCancelCallback? onSingleTapCancel,
- GestureTapDownCallback? onSecondaryTapDown,
- GestureTapUpCallback? onSecondarySingleTapUp,
- GestureTapCancelCallback? onSecondarySingleTapCancel,
- GestureTapDownCallback? onSecondaryDoubleTapDown,
- GestureLongPressStartCallback? onSingleLongTapStart,
- GestureLongPressMoveUpdateCallback? onSingleLongTapMoveUpdate,
- GestureLongPressEndCallback? onSingleLongTapEnd,
- GestureTapDownCallback? onDoubleTapDown,
- GestureDragStartCallback? onDragSelectionStart,
- GestureDragEndCallback? onDragSelectionEnd,
- HitTestBehavior? behavior,
- bool detectWordBoundary = true,
- Key? key,
Create a EditorTextSelectionGestureDetector.
Multiple callbacks can be called for one sequence of input gesture. The child parameter must not be null.
Implementation
const EditorTextSelectionGestureDetector({
required this.child,
this.onTapDown,
this.onForcePressStart,
this.onForcePressEnd,
this.onSingleTapUp,
this.onSingleTapCancel,
this.onSecondaryTapDown,
this.onSecondarySingleTapUp,
this.onSecondarySingleTapCancel,
this.onSecondaryDoubleTapDown,
this.onSingleLongTapStart,
this.onSingleLongTapMoveUpdate,
this.onSingleLongTapEnd,
this.onDoubleTapDown,
this.onDragSelectionStart,
this.onDragSelectionEnd,
this.behavior,
this.detectWordBoundary = true,
Key? key,
}) : super(key: key);