I'm trying to change background color of not selected toggle buttons. I guess the background color is set to transparent by default now and I just can not change it. I tried to populate the buttons with expanded colored containers but that didn't work
Here is picture
Here is code
Container(
child: ToggleButtons(
borderRadius: BorderRadius.circular(5),
selectedColor: Colors.white,
fillColor: Colors.blue,
//renderBorder: false,
children: [Text('Option1'), Text('Option2'), Text('Option3')],
isSelected: [true, false, false],
onPressed: (d) {},
),
)

