bool isChecked = false;
CheckboxListTile(
title: Text('CheckboxTitle'),
subtitle: Text('subtitle'),
secondary: Icon(Icons.delete),
controlAffinity: ListTileControlAffinity.leading, // ListTileControlAffinity.trailing
value: isChecked,
onChanged: (v) {
setState(() {
isChecked = v!;
});
},
),