CellDimensions class

Dimensions for table.

Constructors

CellDimensions({required double? contentCellWidth, required double? contentCellHeight, required double stickyLegendWidth, required double stickyLegendHeight})
const
CellDimensions.fixed({required double? contentCellWidth, required double? contentCellHeight, required double stickyLegendWidth, required double stickyLegendHeight})
Same dimensions for each content cell, but different dimensions for the sticky legend, column and row.
const
CellDimensions.uniform({required double width, required double height})
Same dimensions for each cell.
const
CellDimensions.variableColumnWidth({required List<double>? columnWidths, required double? contentCellHeight, required double stickyLegendWidth, required double stickyLegendHeight})
Different width for each column.
const
CellDimensions.variableColumnWidthAndRowHeight({required List<double>? columnWidths, required List<double>? rowHeights, required double stickyLegendWidth, required double stickyLegendHeight})
Different width for each column and different height for each row.
const
CellDimensions.variableRowHeight({required double? contentCellWidth, required List<double>? rowHeights, required double stickyLegendWidth, required double stickyLegendHeight})
Different height for each row.
const

Properties

columnWidths List<double>?
final
contentCellHeight double?
final
contentCellWidth double?
final
hashCode int
The hash code for this object.
no setterinherited
rowHeights List<double>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stickyLegendHeight double
final
stickyLegendWidth double
final

Methods

contentSize(int i, int j) Size
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runAssertions(int rowsLength, int columnsLength) → void
stickyHeight(int i) double
stickyWidth(int i) double
toString() String
A string representation of this object.
inherited

Operators

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

Constants

base → const CellDimensions