handlerPointerCancel method
Implementation
@override
bool handlerPointerCancel(PointerCancelEvent event) {
_fingers.removeWhere((element) => element.id == event.pointer);
if (_startPinch) {
_startPinch = false;
onPinchEnd();
}
return super.handlerPointerCancel(event);
}