RenderTapRegion constructor
- TapRegionRegistry? registry,
- bool enabled = true,
- bool consumeOutsideTaps = false,
- TapRegionCallback? onTapOutside,
- TapRegionCallback? onTapInside,
- HitTestBehavior behavior = HitTestBehavior.deferToChild,
- Object? groupId,
- String? debugLabel,
Creates a RenderTapRegion.
Implementation
RenderTapRegion({
TapRegionRegistry? registry,
bool enabled = true,
bool consumeOutsideTaps = false,
this.onTapOutside,
this.onTapInside,
super.behavior = HitTestBehavior.deferToChild,
Object? groupId,
String? debugLabel,
}) : _registry = registry,
_enabled = enabled,
_consumeOutsideTaps = consumeOutsideTaps,
_groupId = groupId,
debugLabel = kReleaseMode ? null : debugLabel;