values property
The corresponding selection state of each day.
- true: selected
- false: enabled but not selected
- null: disabled
For example, for a weekend selector where the weekend values are selected (assuming Saturday, Sunday) and weekday values are not, values would be:
values: <int>[
true, // Sunday
false, // Monday
false, // Tuesday
false, // Wednesday
false, // Thursday
false, // Friday
true, // Saturday
],
Implementation
final List<bool?> values;