Flutter button border radius

In this article let’s discuss about Flutter button border radius. Let’s go through the following methods without any delay 🙂

Method 1:

    
        RaisedButton(
                onPressed: () {},
                color: Colors.amber,
                shape: RoundedRectangleBorder(
                    borderRadius: BorderRadius.circular(10)),
                child: Text("Click This"),
              )
    

Method 2 :

OutlinedButton(
  child: Text('Woolha.com'),
  style: OutlinedButton.styleFrom(
    primary: Colors.white,
    backgroundColor: Colors.teal,
    shape: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(10))),
  ),
)

Hope the above methods works for you. Happy Learning and get back to us Anytime.

Realted Posts : The answer to life the universe and everything