handlerPointerUp method

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

Implementation

@override
bool handlerPointerUp(PointerUpEvent event) {
  for (var child in children) {
    if (child is GameComponent) {
      if (child.handlerPointerUp(event)) {
        return true;
      }
    }
  }
  return super.handlerPointerUp(event);
}