title: How to draw container outside screen width in flutter?
body: <p>How can I create a container with rounded corners as shown below?
  I tried using container with width more than the screen width. But that constraints it inside the screen. I tried using an OverFlow box, but couldn't get the same result as well. I don't want to use clipRect to make this as I want to apply animation on the corners.    </p>
  
  <p><a href="https://i.stack.imgur.com/4TVQJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4TVQJ.png" alt="required"></a>  </p>
  
  <p><strong>Edit: Added container snippet with the resulting outcome to clear doubts</strong></p>
  
  <pre><code>Widget build(BuildContext context) {
  return Scaffold(
    backgroundColor: Colors.black,
    body: Align(
      alignment: Alignment.bottomCenter,
      child: Container(
        height: 500,
        decoration: BoxDecoration(
            color: Colors.green, borderRadius: BorderRadius.circular(500)),
      ),
    ),
  );
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/glhzf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/glhzf.png" alt="result"></a></p>