I'm new to flutter, and I'm having this problem where my TextButton has a little border radius. Does anyone know how to remove the border radius from a TextButton?
My output

My Code sorry for not including earlier My Code
You can add a shape parameter to your TextButton
TextButton(
style: TextButton.styleFrom(
backgroundColor: Colors.yellow,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.zero))),
child: const Text("BUtton"),
onPressed: () {},
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With