In Flutter, how can a positioned Widget feel taps outside of its parent Stack area?
This behavior occurs because the stack checks whether the pointer is inside its bounds before checking whether a child got hit: Class: RenderBox (which RenderStack extends) bool hitTest(BoxHitTestResult result, { @required Offset position }) { … if (_size.contains(position)) { if (hitTestChildren(result, position: position) || hitTestSelf(position)) { result.add(BoxHitTestEntry(this, position)); return true; } } return false; } … Read more