EditorTextSelectionGestureDetector constructor

const EditorTextSelectionGestureDetector({
  1. required Widget child,
  2. GestureTapDownCallback? onTapDown,
  3. GestureForcePressStartCallback? onForcePressStart,
  4. GestureForcePressEndCallback? onForcePressEnd,
  5. GestureTapUpCallback? onSingleTapUp,
  6. GestureTapCancelCallback? onSingleTapCancel,
  7. GestureTapDownCallback? onSecondaryTapDown,
  8. GestureTapUpCallback? onSecondarySingleTapUp,
  9. GestureTapCancelCallback? onSecondarySingleTapCancel,
  10. GestureTapDownCallback? onSecondaryDoubleTapDown,
  11. GestureLongPressStartCallback? onSingleLongTapStart,
  12. GestureLongPressMoveUpdateCallback? onSingleLongTapMoveUpdate,
  13. GestureLongPressEndCallback? onSingleLongTapEnd,
  14. GestureTapDownCallback? onDoubleTapDown,
  15. GestureDragStartCallback? onDragSelectionStart,
  16. GestureDragEndCallback? onDragSelectionEnd,
  17. HitTestBehavior? behavior,
  18. bool detectWordBoundary = true,
  19. 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);