RawGestureDetectorModifier constructor

const RawGestureDetectorModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. Map<Type, GestureRecognizerFactory<GestureRecognizer>> gestures = const <Type, GestureRecognizerFactory>{},
  5. HitTestBehavior? behavior,
  6. SemanticsGestureDelegate? semantics,
  7. 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,
});