setDefaultColumnWidth method
Set the default column width.
If both setDefaultRowHeight
and setDefaultColumnWidth
are not called,
then the default row height and column width will be set by Excel.
The default row height is 15.0 and the default column width is 8.43.
Implementation
void setDefaultColumnWidth([double columnWidth = _excelDefaultColumnWidth]) {
if (columnWidth < 0) return;
_defaultColumnWidth = columnWidth;
}