OutlinedButton(
onPressed: null,
style: ButtonStyle(
shape: MaterialStateProperty.all(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30.0),
)
),
),
child: const Text("Button text"),
);
// TextButton has border circle not use Container()
TextButton(
child: const Icon(
Icons.play_circle,
size: 55,
color: Colors.white,
),
style: TextButton.styleFrom(
padding: const EdgeInsets.all(0),
shape: CircleBorder(
side: BorderSide(width: 8, color: Colors.blue.withOpacity(0.3)),
),
),
onPressed: () {},
),