Search code snippets, questions, articles...

Rounded outline button Flutter

OutlineButton(
    onPressed: () {},
    child: Text('Sign in'),
    shape: new RoundedRectangleBorder(
        borderRadius: new BorderRadius.circular(30.0),
    ),
),
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place.

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?
0 Comments