Map<int, TableColumnWidth> columnWidths

How the horizontal extents of the columns of this table should be determined.

If the Map has a null entry for a given column, the table uses the defaultColumnWidth instead.

The layout performance of the table depends critically on which column sizing algorithms are used here. In particular, IntrinsicColumnWidth is quite expensive because it needs to measure each cell in the column to determine the intrinsic size of the column.

Source

Map<int, TableColumnWidth> get columnWidths => new Map<int, TableColumnWidth>.unmodifiable(_columnWidths);
void columnWidths=(Map<int, TableColumnWidth> value)

Source

set columnWidths(Map<int, TableColumnWidth> value) {
  value ??= new HashMap<int, TableColumnWidth>();
  if (_columnWidths == value)
    return;
  _columnWidths = value;
  markNeedsLayout();
}