title: Flutter OverflowBox is behind the next widget in a column
body: <p>I'm working on a Flutter project and I am trying to use the <a href="https://api.flutter.dev/flutter/widgets/OverflowBox-class.html" rel="noreferrer"><code>OverflowBox</code></a> widget.</p>
  <p>I have a list of widgets in a <code>Column</code>, one of them, in the middle is supposed to overflow the others based on some events by the user.</p>
  <p>Here is a simplified version of my code.</p>
  <p>The red <code>Container</code> needs to display the green <code>Container</code> that overflows it at the top and the bottom.
  But as you can see on the image, the green <code>Container</code> is only visible above the previous <code>Container</code> (the blue one) but not on the next one (the black <code>Container</code>). It looks like it is behind.</p>
  <pre class="lang-dart prettyprint-override"><code>class MyScreen extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return Column(
        mainAxisSize: MainAxisSize.min,
        children: [
          Container(
            height: 100,
            width: 100,
            color: Colors.blue,
          ),
          Container(
            height: 100,
            width: 100,
            color: Colors.red,
            child: Center(
              child: OverflowBox(
                maxHeight: 150,
                child: Container(
                  color: Colors.green,
                  height: 150,
                  width: 50,
                ),
              ),
            ),
          ),
          Container(
            height: 100,
            width: 100,
            color: Colors.black,
          )
        ],
      );
    }
  }
  </code></pre>
  <p>How can I get my green <code>Container</code> to be above the black one too ?</p>
  <hr />
  <p>EDIT: For functionality purposes, I need the green <code>Container</code> to be a child/be created by the red <code>Container</code> (and not by the list where I could use a <code>Stack</code> widget). I need the logic to be inside the red and green ones.</p>
  <p><a href="https://i.stack.imgur.com/LnHgA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LnHgA.png" alt="enter image description here" /></a></p>