RawGestureDetector constructor
- Key? key,
- Widget? child,
- Map<
Type, GestureRecognizerFactory< gestures = const <Type, GestureRecognizerFactory>{},GestureRecognizer> > - HitTestBehavior? behavior,
- bool excludeFromSemantics = false,
- SemanticsGestureDelegate? semantics,
Creates a widget that detects gestures.
Gesture detectors can contribute semantic information to the tree that is used by assistive technology. The behavior can be configured by semantics, or disabled with excludeFromSemantics.
Implementation
const RawGestureDetector({
super.key,
this.child,
this.gestures = const <Type, GestureRecognizerFactory>{},
this.behavior,
this.excludeFromSemantics = false,
this.semantics,
});