CellDimensions.fixed constructor

const CellDimensions.fixed({
  1. required double? contentCellWidth,
  2. required double? contentCellHeight,
  3. required double stickyLegendWidth,
  4. required double stickyLegendHeight,
})

Same dimensions for each content cell, but different dimensions for the sticky legend, column and row.

Implementation

const CellDimensions.fixed({
  /// Content cell width. Also applied to sticky row width.
  required this.contentCellWidth,

  /// Content cell height. Also applied to sticky column height.
  required this.contentCellHeight,

  /// Sticky legend width. Also applied to sticky column width.
  required this.stickyLegendWidth,

  /// Sticky legend height. Also applied to sticky row height.
  required this.stickyLegendHeight,
})  : this.columnWidths = null,
      this.rowHeights = null;