Performs a hit test on each child by walking the child list backwards.
Stops walking once after the first child reports that it contains the given point. Returns whether any children contain the given point.
Source
bool defaultHitTestChildren(HitTestResult result, { Point position }) { // the x, y parameters have the top left of the node's box as the origin ChildType child = lastChild; while (child != null) { final ParentDataType childParentData = child.parentData; Point transformed = new Point(position.x - childParentData.offset.dx, position.y - childParentData.offset.dy); if (child.hitTest(result, position: transformed)) return true; child = childParentData.previousSibling; } return false; }