title: How can I used Dismissible() when the child have BorderRadius()?
body: <p>I am trying to use <code>Dismissible</code> in a <code>Container</code> with <code>BorderRadius</code> but the <code>onDismissed</code> Animation don't work properly, because the back ground don't have the same shape.</p>
  
  <p><img src="https://i.stack.imgur.com/6EHV6.png" alt="This is a screen shot of the problem."></p>
  
  <p>I have tried this:</p>
  
  <pre><code> Stack(
       overflow: Overflow.clip,
       children: &lt;Widget&gt;[
           MyBackgroundWidget(), // instead of background
           Dismissible(
               child: MyForegroundWidget(),
               // no background
           )
       ],
   );
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/cP9r3.png" alt="and that works if you don&#39;t have padding. But don&#39;t work in my case, because i have padding in my container. So it will look like this when onDismissed, before the animation its completely done."></p>