registry property Null safety
The registry that this RenderTapRegion should register with.
If the registry
is null, then this region will not be registered
anywhere, and will not do any tap detection.
Implementation
TapRegionRegistry? get registry => _registry;
Implementation
set registry(TapRegionRegistry? value) {
if (_registry != value) {
if (_isRegistered) {
_registry!.unregisterTapRegion(this);
_isRegistered = false;
}
_registry = value;
markNeedsLayout();
}
}