Färben Sie das Kontrollkästchen
bool isChecked = false;
Checkbox(
activeColor: Colors.red, //The color to use when this checkbox is checked.
checkColor: Colors.black, // The color to use for the check icon when this checkbox is checked.
value: isChecked,
onChanged: (value) {
setState(() {
isChecked = value!;
});
},
),
Sore Serval