handlerPointerUp method
Implementation
@override
bool handlerPointerUp(PointerUpEvent event) {
if (!enableMouseGesture || event.kind != PointerDeviceKind.mouse) {
return super.handlerPointerUp(event);
}
if (hasGameRef) {
onMouseScreenTapUp(
event.pointer,
event.localPosition.toVector2(),
);
_pointer = -1;
}
return super.handlerPointerUp(event);
}