I have created two buttons in a row using flutter. now I want to change border-radius o=f buttons. how can I do this properly? the picture shows the buttons I was created.
Widget lbsButton() => Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
width: 80,
height:50,
child: ElevatedButton(
onPressed: () {},
child: Text('lbs'),
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(mainPurpleText),
),
),
),
SizedBox(
width: 10,
),
SizedBox(
width: 80,
height:50,
child: new ElevatedButton(
onPressed: () {},
child: Text('kg' , style:TextStyle(color:Colors.grey,fontSize:13),
),
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>( Colors.white),
),
),
)
],
),
);