TTableColumnMeasurements class

Result of measuring a table's columns once. Deliberately separates the expensive part (text measurement, done in TTableTheme.measureColumns) from the cheap part (resolve, pure arithmetic) so a resize/relayout doesn't re-run TextPainter for every column on every frame.

Constructors

TTableColumnMeasurements({required Map<int, TableColumnWidth> fixedWidths, required double fixedTotal, required List<int> autoIndices, required List<double> autoNaturalWidths, required List<double?> autoMinWidths, required List<double?> autoMaxWidths})
const

Properties

autoIndices List<int>
final
autoMaxWidths List<double?>
final
autoMinWidths List<double?>
final
autoNaturalTotal double
no setter
autoNaturalWidths List<double>
Weighting basis per auto column — natural measured width, already clamped into that column's own autoMinWidths/autoMaxWidths range if it declared one.
final
fixedTotal double
final
fixedWidths Map<int, TableColumnWidth>
final
hashCode int
The hash code for this object.
no setterinherited
requiredWidth double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(double availableWidth) Map<int, TableColumnWidth>
toString() String
A string representation of this object.
inherited

Operators

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