I am trying to increase my button bar buttons' width so I used buttonMinWidth, but for some reason it isn't working, here's my code:
ButtonBar(
children: [
TextButton.icon(
onPressed: null,
icon: const Icon(
Icons.replay,
color: Colors.red,
),
label: const Text(
"Retry",
style: TextStyle(color: Colors.red),
),
),
TextButton.icon(
onPressed: null,
icon: const Icon(
Icons.replay,
color: Colors.green,
),
label: const Text(
"Continue",
style: TextStyle(color: Colors.green),
),
),
],
buttonMinWidth: 100,
),
It's probably simple but I can't seem to find the problem.