CellAlignments class

Alignment for cell contents.

Constructors

CellAlignments.fixed({required Alignment? contentCellAlignment, required Alignment? stickyColumnAlignment, required Alignment? stickyRowAlignment, required Alignment stickyLegendAlignment})
Same alignment for each content cell, but different alignment for the sticky column, row and legend.
const
CellAlignments.uniform(Alignment alignment)
Same alignment for each cell.
const
CellAlignments.variable({required List<List<Alignment>>? contentCellAlignments, required List<Alignment>? stickyColumnAlignments, required List<Alignment>? stickyRowAlignments, required Alignment stickyLegendAlignment})
Different alignment for every cell.
const
CellAlignments.variableColumnAlignment({required List<Alignment>? columnAlignments, required List<Alignment>? stickyRowAlignments, required Alignment? stickyColumnAlignment, required Alignment stickyLegendAlignment})
Different alignment for each column.
const
CellAlignments.variableRowAlignment({required List<Alignment>? rowAlignments, required List<Alignment>? stickyColumnAlignments, required Alignment? stickyRowAlignment, required Alignment stickyLegendAlignment})
Different alignment for each row.
const

Properties

columnAlignments List<Alignment>?
final
contentCellAlignment Alignment?
final
contentCellAlignments List<List<Alignment>>?
final
hashCode int
The hash code for this object.
no setterinherited
rowAlignments List<Alignment>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stickyColumnAlignment Alignment?
final
stickyColumnAlignments List<Alignment>?
final
stickyLegendAlignment Alignment
final
stickyRowAlignment Alignment?
final
stickyRowAlignments List<Alignment>?
final

Methods

columnAlignment(int i) Alignment?
contentAlignment(int i, int j) Alignment?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rowAlignment(int i) Alignment?
runAssertions(int rowsLength, int columnsLength) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

base → const CellAlignments