|
|
|
@ -104,14 +104,14 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
|
|
|
|
|
widget.isServiceSelected(historyInfo),
|
|
|
|
|
activeColor: Colors.red[800],
|
|
|
|
|
onChanged: (bool newValue) {
|
|
|
|
|
// setState(() {
|
|
|
|
|
// if (widget
|
|
|
|
|
// .isServiceSelected(historyInfo)) {
|
|
|
|
|
// widget.removeHistory(historyInfo);
|
|
|
|
|
// } else {
|
|
|
|
|
// widget.addHistory(historyInfo);
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
setState(() {
|
|
|
|
|
if (widget
|
|
|
|
|
.isServiceSelected(historyInfo)) {
|
|
|
|
|
widget.removeHistory(historyInfo);
|
|
|
|
|
} else {
|
|
|
|
|
widget.addHistory(historyInfo);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Padding(
|
|
|
|
|