initSelects method

  1. @override
void initSelects()
override

Implementation

@override
void initSelects() {
  _colAP = _getAPColIndex();
  int maxLevel = getMaxLevel();
  // 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);
    }
  }
}