stopTrackingIfPointerNoLongerDown method Null safety
- PointerEvent event
protected">@protected
Stops tracking the pointer associated with the given event if the event is a PointerUpEvent or a PointerCancelEvent event.
Implementation
@protected
void stopTrackingIfPointerNoLongerDown(PointerEvent event) {
if (event is PointerUpEvent || event is PointerCancelEvent || event is PointerPanZoomEndEvent) {
stopTrackingPointer(event.pointer);
}
}