stopTrackingIfPointerNoLongerDown method
- @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)
stopTrackingPointer(event.pointer);
}