how to remove bordre radius from textbutton
Expanded(
child: TextButton(
// this is my solution didn't find it anywhere
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all(Colors.red),
shape: MaterialStateProperty.all(
RoundedRectangleBorder(borderRadius: BorderRadius.zero),
),
),
onPressed: () {
playSound(1);
},
child: Container(
child: Text(""),
),
),
)