CellDimensions.variableRowHeight constructor

const CellDimensions.variableRowHeight({
  1. required double? contentCellWidth,
  2. required List<double>? rowHeights,
  3. required double stickyLegendWidth,
  4. required double stickyLegendHeight,
})

Different height for each row.

Implementation

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

  /// Row heights (for content only). Also applied to sticky row heights.
  /// Length of list needs to match rowsLength.
  required this.rowHeights,

  /// 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.contentCellHeight = null;