title: Flutter only top border with topleft and topright border
body: <p>I need to add only top border shadow with a top left / right border radius to a widget (preferably to a container / card). I don't need left / right / bottom borders. Please see the image below.</p>
  
  <p><a href="https://i.stack.imgur.com/UKkW9.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/UKkW9.jpg" alt="enter image description here"></a></p>
  
  <p>I tried with a container as below.</p>
  
  <pre><code>Container(
          child: _buildRemaining(context),
          decoration: BoxDecoration(
            border: Border(top: BorderSide(color: Colors.grey, width: 5)),
            borderRadius: const BorderRadius.only(
              topLeft: Radius.circular(30.0),
              topRight: Radius.circular(30.0),
            ),
          ),
        ),
  </code></pre>
  
  <p>With container it fails complaining that you can't set only a top border.</p>
  
  <p>Then with a Card widget.</p>
  
  <pre><code>Card(
          elevation: 3,
          margin: const EdgeInsets.only(bottom: 5),
          shape: const RoundedRectangleBorder(
            borderRadius: BorderRadius.only(
              topLeft: Radius.circular(30.0),
              topRight: Radius.circular(30.0),
            ),
          ),
          child:_buildRemaining(context))
  </code></pre>
  
  <p>With elevation set on the Card, i can see the shadow, but top border is not visible enough. Still cannot remove the left / right / bottom borders.</p>
  
  <p>Any suggestions please</p>