RawGestureDetectorModifier constructor
const
RawGestureDetectorModifier({
- Key? key,
- Widget? child,
- Key? modifierKey,
- Map<
Type, GestureRecognizerFactory< gestures = const <Type, GestureRecognizerFactory>{},GestureRecognizer> > - HitTestBehavior? behavior,
- SemanticsGestureDelegate? semantics,
- bool excludeFromSemantics = false,
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 RawGestureDetectorModifier({
super.key,
super.child,
super.modifierKey,
this.gestures = const <Type, GestureRecognizerFactory>{},
this.behavior,
this.semantics,
this.excludeFromSemantics = false,
});