isSelected property Null safety

List<bool> isSelected
final

The corresponding selection state of each toggle button.

Each value in this list represents the selection state of the children widget at the same index.

The length of isSelected has to match the length of children.

Implementation

final List<bool> isSelected;