CaptureGestures.scroll constructor
const
CaptureGestures.scroll({})
Captures only drag gestures (preventing both vertical and horizontal scroll).
Implementation
const CaptureGestures.scroll({
Key? key,
this.child,
bool capturing = true,
this.display = false,
}) : capturingTap = false,
capturingDoubleTap = false,
capturingLongPress = false,
capturingVerticalDrag = capturing,
capturingHorizontalDrag = capturing,
capturingForcePress = false,
super(key: key);