setColumnWidth method Null safety

void setColumnWidth(
  1. int column,
  2. TableColumnWidth value
)

Determines how the width of column with the given index is determined.

Implementation

void setColumnWidth(int column, TableColumnWidth value) {
  if (_columnWidths[column] == value) {
    return;
  }
  _columnWidths[column] = value;
  markNeedsLayout();
}