initSelects method

  1. @override
void initSelects()
override

Implementation

@override
void initSelects() {
  // ignore: unnecessary_null_comparison
  if (picker!.selecteds == null) picker!.selecteds = <int>[];
  if (picker!.selecteds.length == 0) {
    for (int i = 0; i < _maxLevel; i++) picker!.selecteds.add(0);
  }
}