const
GestureDetector(- {Key? key,
- Widget? child,
- Callback? onTap,
- Callback? onTapCancel,
- Callback? onSecondaryTap,
- Callback? onSecondaryTapCancel,
- Callback? onTertiaryTapCancel,
- Callback? onDoubleTap,
- Callback? onDoubleTapCancel,
- Callback? onLongPressCancel,
- Callback? onLongPress,
- Callback? onLongPressUp,
- Callback? onSecondaryLongPressCancel,
- Callback? onSecondaryLongPress,
- Callback? onSecondaryLongPressUp,
- Callback? onTertiaryLongPressCancel,
- Callback? onTertiaryLongPress,
- Callback? onTertiaryLongPressUp,
- Callback? onVerticalDragCancel,
- Callback? onHorizontalDragCancel,
- Callback? onPanCancel,
- HitTestBehavior? behavior,
- bool excludeFromSemantics,
- DragStartBehavior dragStartBehavior,
- Set<PointerDeviceKind>? supportedDevices}
)
Implementation
const factory GestureDetector(
{final Key? key,
final Widget? child,
final Callback? onTap,
final Callback? onTapCancel,
final Callback? onSecondaryTap,
final Callback? onSecondaryTapCancel,
final Callback? onTertiaryTapCancel,
final Callback? onDoubleTap,
final Callback? onDoubleTapCancel,
final Callback? onLongPressCancel,
final Callback? onLongPress,
final Callback? onLongPressUp,
final Callback? onSecondaryLongPressCancel,
final Callback? onSecondaryLongPress,
final Callback? onSecondaryLongPressUp,
final Callback? onTertiaryLongPressCancel,
final Callback? onTertiaryLongPress,
final Callback? onTertiaryLongPressUp,
final Callback? onVerticalDragCancel,
final Callback? onHorizontalDragCancel,
final Callback? onPanCancel,
final HitTestBehavior? behavior,
final bool excludeFromSemantics,
final DragStartBehavior dragStartBehavior,
final Set<PointerDeviceKind>? supportedDevices}) = _$GestureDetector;