handlerPointerCancel method

  1. @override
bool handlerPointerCancel(
  1. PointerCancelEvent event
)
override

Implementation

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