initSelects method
Initializes the selected indices for all columns.
This method is called once when the picker is first displayed to set up default selections for each column.
Implementation
@override
void initSelects() {
// ignore: unnecessary_null_comparison
if (picker!.selecteds == null) picker!.selecteds = <int>[];
if (picker!.selecteds.isEmpty) {
for (int i = 0; i < _maxLevel; i++) {
picker!.selecteds.add(0);
}
}
}