1

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

Hamed Siaban
  • 1,342
  • 1
  • 9
  • 18
Moaz El-sawaf
  • 2,306
  • 1
  • 16
  • 33

1 Answers1

1

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,
   ),
)
Moaz El-sawaf
  • 2,306
  • 1
  • 16
  • 33