controller: _controller,
items: List.generate(
optionLength.length,
(index) => CheckListCard(
value: mySnapshot
.docs[_counter.value]
['options'][index]
.toString(),
title:
Text(mySnapshot
.docs[
_counter
.value][
'options'][index]),
selected:
getSelectedOptions(
mySnapshot,
index,
),
selectedColor: Colors.white,
checkColor: Colors.amber,
checkBoxBorderSide:
BorderSide(
color:
Colors.amber),
decorations: MultiSelectItemDecorations(
decoration:
BoxDecoration(
color: Colors
.amber
.withOpacity(
0.1)),
selectedDecoration:
BoxDecoration(
color: Colors
.amber
.withOpacity(
0.8))),
shape:
RoundedRectangleBorder(
borderRadius:
BorderRadius.circular(
5),
),
),
),
onChange: (allSelectedItems,
selectedItem) {
}),