fix master key word

merge-requests/444/head
Elham Rababah 5 years ago
parent 0d42163034
commit fe39a22481

@ -84,13 +84,9 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
children: items.map((historyInfo) {
return Column(
children: [
Row(
children: [
Checkbox(
value:
widget.isServiceSelected(historyInfo),
activeColor: Colors.red[800],
onChanged: (bool newValue) {
InkWell(
onTap:(){
setState(() {
if (widget
.isServiceSelected(historyInfo)) {
@ -99,6 +95,23 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
widget.addHistory(historyInfo);
}
});
},
child: Row(
children: [
Checkbox(
value:
widget.isServiceSelected(historyInfo),
activeColor: Colors.red[800],
onChanged: (bool newValue) {
// setState(() {
// if (widget
// .isServiceSelected(historyInfo)) {
// widget.removeHistory(historyInfo);
// } else {
// widget.addHistory(historyInfo);
// }
// });
}),
Expanded(
child: Padding(
@ -115,6 +128,7 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
),
],
),
),
// DividerWithSpacesAround(),
],
);

Loading…
Cancel
Save