Search code snippets, questions, articles...

Rounded outline button Flutter

    onPressed: () {},
    child: Text('Sign in'),
    shape: new RoundedRectangleBorder(
        borderRadius: new BorderRadius.circular(30.0),

If you want to make a button rounded from its corners in flutter you can use shape property of the Outline button. You can pass RoundedRectangleBorder to it and define border-radius inside it to make the button rounded from corners.

Was this helpful?
Programming Feeds
Learn something new everyday on Devsheet