tapEvents method
- required dynamic onTap(),
Registers tap event callbacks for the annotations managed by this manager.
Note: Tap events will now not propagate to annotations below the topmost one. If you tap on overlapping annotations, only the top annotation's tap event will be triggered.
Implementation
Cancelable tapEvents({required Function(CircleAnnotation) onTap}) => impl
.tapInteractionStream
.listen((data) => onTap(data.annotation))
.asCancelable();