widthOf method

double widthOf(
  1. ColId id
)

Effective width of column id. Falls back to the schema's ColumnSpec.defaultWidth, then to 120 if no spec exists.

Implementation

double widthOf(ColId id) =>
    _columnWidths[id] ?? schema.column(id)?.defaultWidth ?? 120;