columnWidths property

Map<int, double>? get columnWidths

Gets an unmodifiable map of custom column widths.

Returns: Map<int, double>? — map of column indices to widths, or null if none set.

Implementation

Map<int, double>? get columnWidths => _columnWidths == null
    ? null
    : Map<int, double>.unmodifiable(_columnWidths!);