updateScrollController method

void updateScrollController(
  1. int col
)

Implementation

void updateScrollController(int col) {
  if (_changing || picker.adapter.isLinkage == false) return;
  _changing = true;
  for (int j = 0; j < picker.selecteds.length; j++) {
    if (j != col) {
      if (scrollController[j].hasClients &&
          scrollController[j].position.hasContentDimensions) {
        scrollController[j].position.notifyListeners();
      }
    }
  }
  _changing = false;
}