JsonGestureDetectorBuilder constructor
const
JsonGestureDetectorBuilder({
- HitTestBehavior? behavior,
- required DragStartBehavior dragStartBehavior,
- required bool excludeFromSemantics,
- GestureDoubleTapCallback? onDoubleTap,
- GestureTapCancelCallback? onDoubleTapCancel,
- GestureTapDownCallback? onDoubleTapDown,
- GestureForcePressEndCallback? onForcePressEnd,
- GestureForcePressPeakCallback? onForcePressPeak,
- GestureForcePressStartCallback? onForcePressStart,
- GestureForcePressUpdateCallback? onForcePressUpdate,
- GestureDragCancelCallback? onHorizontalDragCancel,
- GestureDragDownCallback? onHorizontalDragDown,
- GestureDragEndCallback? onHorizontalDragEnd,
- GestureDragStartCallback? onHorizontalDragStart,
- GestureDragUpdateCallback? onHorizontalDragUpdate,
- GestureLongPressCallback? onLongPress,
- GestureLongPressCancelCallback? onLongPressCancel,
- GestureLongPressDownCallback? onLongPressDown,
- GestureLongPressEndCallback? onLongPressEnd,
- GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate,
- GestureLongPressStartCallback? onLongPressStart,
- GestureLongPressUpCallback? onLongPressUp,
- GestureDragCancelCallback? onPanCancel,
- GestureDragDownCallback? onPanDown,
- GestureDragEndCallback? onPanEnd,
- GestureDragStartCallback? onPanStart,
- GestureDragUpdateCallback? onPanUpdate,
- GestureScaleEndCallback? onScaleEnd,
- GestureScaleStartCallback? onScaleStart,
- GestureScaleUpdateCallback? onScaleUpdate,
- GestureLongPressCallback? onSecondaryLongPress,
- GestureLongPressCancelCallback? onSecondaryLongPressCancel,
- GestureLongPressDownCallback? onSecondaryLongPressDown,
- GestureLongPressEndCallback? onSecondaryLongPressEnd,
- GestureLongPressMoveUpdateCallback? onSecondaryLongPressMoveUpdate,
- GestureLongPressStartCallback? onSecondaryLongPressStart,
- GestureLongPressUpCallback? onSecondaryLongPressUp,
- GestureTapCallback? onSecondaryTap,
- GestureTapCancelCallback? onSecondaryTapCancel,
- GestureTapDownCallback? onSecondaryTapDown,
- GestureTapUpCallback? onSecondaryTapUp,
- GestureTapCallback? onTap,
- GestureTapCancelCallback? onTapCancel,
- GestureTapDownCallback? onTapDown,
- GestureTapUpCallback? onTapUp,
- GestureLongPressCallback? onTertiaryLongPress,
- GestureLongPressCancelCallback? onTertiaryLongPressCancel,
- GestureLongPressDownCallback? onTertiaryLongPressDown,
- GestureLongPressEndCallback? onTertiaryLongPressEnd,
- GestureLongPressMoveUpdateCallback? onTertiaryLongPressMoveUpdate,
- GestureLongPressStartCallback? onTertiaryLongPressStart,
- GestureLongPressUpCallback? onTertiaryLongPressUp,
- GestureTapCancelCallback? onTertiaryTapCancel,
- GestureTapDownCallback? onTertiaryTapDown,
- GestureTapUpCallback? onTertiaryTapUp,
- GestureDragCancelCallback? onVerticalDragCancel,
- GestureDragDownCallback? onVerticalDragDown,
- GestureDragEndCallback? onVerticalDragEnd,
- GestureDragStartCallback? onVerticalDragStart,
- GestureDragUpdateCallback? onVerticalDragUpdate,
- Set<
PointerDeviceKind> ? supportedDevices,
Implementation
const JsonGestureDetectorBuilder({
this.behavior,
required this.dragStartBehavior,
required this.excludeFromSemantics,
this.onDoubleTap,
this.onDoubleTapCancel,
this.onDoubleTapDown,
this.onForcePressEnd,
this.onForcePressPeak,
this.onForcePressStart,
this.onForcePressUpdate,
this.onHorizontalDragCancel,
this.onHorizontalDragDown,
this.onHorizontalDragEnd,
this.onHorizontalDragStart,
this.onHorizontalDragUpdate,
this.onLongPress,
this.onLongPressCancel,
this.onLongPressDown,
this.onLongPressEnd,
this.onLongPressMoveUpdate,
this.onLongPressStart,
this.onLongPressUp,
this.onPanCancel,
this.onPanDown,
this.onPanEnd,
this.onPanStart,
this.onPanUpdate,
this.onScaleEnd,
this.onScaleStart,
this.onScaleUpdate,
this.onSecondaryLongPress,
this.onSecondaryLongPressCancel,
this.onSecondaryLongPressDown,
this.onSecondaryLongPressEnd,
this.onSecondaryLongPressMoveUpdate,
this.onSecondaryLongPressStart,
this.onSecondaryLongPressUp,
this.onSecondaryTap,
this.onSecondaryTapCancel,
this.onSecondaryTapDown,
this.onSecondaryTapUp,
this.onTap,
this.onTapCancel,
this.onTapDown,
this.onTapUp,
this.onTertiaryLongPress,
this.onTertiaryLongPressCancel,
this.onTertiaryLongPressDown,
this.onTertiaryLongPressEnd,
this.onTertiaryLongPressMoveUpdate,
this.onTertiaryLongPressStart,
this.onTertiaryLongPressUp,
this.onTertiaryTapCancel,
this.onTertiaryTapDown,
this.onTertiaryTapUp,
this.onVerticalDragCancel,
this.onVerticalDragDown,
this.onVerticalDragEnd,
this.onVerticalDragStart,
this.onVerticalDragUpdate,
this.supportedDevices,
}) : super(numSupportedChildren: kNumSupportedChildren);