handlerPointerUp method

  1. @override
bool handlerPointerUp(
  1. PointerUpEvent event
)
override

Implementation

@override
bool handlerPointerUp(PointerUpEvent event) {
  _fingers.removeWhere((element) => element.id == event.pointer);
  if (_startPinch) {
    _startPinch = false;
    onPinchEnd();
  }
  return super.handlerPointerUp(event);
}