columnWidths property

List<double> get columnWidths

Gets an unmodifiable list of computed column widths.

Returns the width of each column after layout calculation. The list index corresponds to the column index, and the value is the width in logical pixels.

Throws AssertionError if called before layout is complete.

Returns an unmodifiable List<double> of column widths.

Implementation

List<double> get columnWidths {
  assert(_layoutResult != null, 'Layout result is not available');
  return List.unmodifiable(_layoutResult!.columnWidths);
}