CellAlignments.fixed constructor

const CellAlignments.fixed({
  1. required Alignment? contentCellAlignment,
  2. required Alignment? stickyColumnAlignment,
  3. required Alignment? stickyRowAlignment,
  4. required Alignment stickyLegendAlignment,
})

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

Implementation

const CellAlignments.fixed({
  /// Same alignment for each content cell.
  required this.contentCellAlignment,

  /// Same alignment for each sticky column cell.
  required this.stickyColumnAlignment,

  /// Same alignment for each sticky row cell.
  required this.stickyRowAlignment,

  /// Alignment for the sticky legend cell.
  required this.stickyLegendAlignment,
})  : columnAlignments = null,
      rowAlignments = null,
      contentCellAlignments = null,
      stickyColumnAlignments = null,
      stickyRowAlignments = null;