I am using the CheckBoxListTile like this,
CheckboxListTile(
title: Text(
ourAllnotes[i].note,
style: TextStyle(color: Colors.white),
),
value: false,
onChanged: (bool value) {},
activeColor: Colors.orange,
checkColor: Colors.white,
controlAffinity: ListTileControlAffinity.leading,
)
I could change the color of the checkbox after it is checked, but I cannot change its color before it is checked rather than its default value. How to do that?