RenderTapRegion constructor Null safety
- {TapRegionRegistry? registry,
- bool enabled = true,
- TapRegionCallback? onTapOutside,
- TapRegionCallback? onTapInside,
- Object? groupId,
- String? debugLabel}
Creates a RenderTapRegion.
Implementation
RenderTapRegion({
TapRegionRegistry? registry,
bool enabled = true,
this.onTapOutside,
this.onTapInside,
Object? groupId,
String? debugLabel,
}) : _registry = registry,
_enabled = enabled,
_groupId = groupId,
debugLabel = kReleaseMode ? null : debugLabel;