Flutter: RadioListTile color is not changing

Viewed 26

I have a RadioListTile in my widget tree which has the property tileColor, whenever I change its value it doesn't actually change.

Anyone can help on this?

Thanks in Advance

1 Answers

The easiest solution for this problem is to just wrap the RadioListTile with a Material widget and you will find that the problem is gone.

Example:

Material(
   child: RadioListTile(
      tileColor: Colors.red,
   ),
)
Related