I want to remove OutlinedButton
border radius, It has a default border radius I want to have a rectangle shape not a rounded rectangle shape.
Here’s my code:
OutlinedButton(
style: OutlinedButton.styleFrom(
side: BorderSide(color: Color(0xffC5C5C5), width: 2.0),
),
onPressed: () {},
child: Text(
"data",
style: TextStyle(
fontFamily: "GB",
fontSize: 12,
color: Color(0xffC5C5C5),
),
),
),
2
Answers
We should use shape property and give the value of BeveledRectangleBorder(), like this:
Here you go: