title: Custom Textbutton shape
body: <p>How to achieve <code>Textbutton</code> shape like this image
  <a href="https://i.stack.imgur.com/bTa91.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bTa91.png" alt="image" /></a></p>
  <p>I've tried this</p>
  <pre class="lang-dart prettyprint-override"><code>TextButton(
      onPressed: () {},
      style: ButtonStyle(
        shape: MaterialStateProperty.all&lt;BeveledRectangleBorder&gt;(
            BeveledRectangleBorder(
          borderRadius: BorderRadius.circular(10),
        )),
        backgroundColor: MaterialStateProperty.all&lt;Color&gt;(Colors.red),
      ),
      child: Text('')),
  </code></pre>