bool isChecked = false;
CheckboxListTile(
activeColor: Colors.red,
checkColor: Colors.black,
value: isChecked,
onChanged: (value) {
setState(() {
isChecked = value!;
});
},
title: Text("title here"),
subtitle: Text("subtitle here"),
),
),