updateColumn method

void updateColumn(
  1. int index, [
  2. bool all = false
])

Force update the content of specified column When modifying the content of columns before the current column in the onSelect event, this method can be called to update the display

Implementation

void updateColumn(int index, [bool all = false]) {
  if (all) {
    _state?.update();
    return;
  }
  if (_state?._keys[index] != null) {
    adapter.setColumn(index - 1);
    _state?._keys[index]!(() {});
  }
}