OutlinedButton(
onPressed: () { print("Button is pressed"); },
style: ButtonStyle(
shape: MaterialStateProperty.all(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30.0),
),
),
),
child: const Text("Share"),
),
We are using OutlinedButton() button widget here and using border-radius we are making its corners rounded.
0 Comments