columnWidths property
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.
Implementation
Map<int, TableColumnWidth> get columnWidths => Map<int, TableColumnWidth>.unmodifiable(_columnWidths);
Implementation
set columnWidths(Map<int, TableColumnWidth> value) {
value ??= HashMap<int, TableColumnWidth>();
if (_columnWidths == value)
return;
_columnWidths = value;
markNeedsLayout();
}