flutter

Rounded outline button Flutter

OutlineButton(
    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?