RenderTapRegion constructor

RenderTapRegion({
  1. TapRegionRegistry? registry,
  2. bool enabled = true,
  3. bool consumeOutsideTaps = false,
  4. TapRegionCallback? onTapOutside,
  5. TapRegionCallback? onTapInside,
  6. TapRegionUpCallback? onTapUpOutside,
  7. TapRegionUpCallback? onTapUpInside,
  8. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  9. Object? groupId,
  10. String? debugLabel,
})

Creates a RenderTapRegion.

Implementation

RenderTapRegion({
  this._registry,
  this._enabled = true,
  this._consumeOutsideTaps = false,
  this.onTapOutside,
  this.onTapInside,
  this.onTapUpOutside,
  this.onTapUpInside,
  super.behavior = HitTestBehavior.deferToChild,
  this._groupId,
  String? debugLabel,
}) : debugLabel = kReleaseMode ? null : debugLabel;