onPointerUp method

  1. @override
void onPointerUp(
  1. PointerUpEvent event
)
override

Implementation

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