onPointerUp method
Implementation
@override
void onPointerUp(PointerUpEvent event) {
if (onTapUp != null) {
final localPosition = event.localPosition.toVector2();
onTapUp?.call(
this,
localPosition,
camera.screenToWorld(localPosition),
);
}
super.onPointerUp(event);
}