TableLayoutResult class
Result of table layout calculations.
Contains computed column widths, row heights, and remaining space information after layout. Used internally by the table rendering system.
Constructors
-
TableLayoutResult({required List<
double> columnWidths, required List<double> rowHeights, required double remainingWidth, required double remainingHeight, required double remainingLooseWidth, required double remainingLooseHeight, required bool hasTightFlexWidth, required bool hasTightFlexHeight}) - Creates a TableLayoutResult.
Properties
-
columnWidths
→ List<
double> -
Computed widths for each column.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasTightFlexHeight → bool
-
Whether tight flex sizing is used for height.
final
- hasTightFlexWidth → bool
-
Whether tight flex sizing is used for width.
final
- height → double
-
Gets the total height of the table.
no setter
- remainingHeight → double
-
Remaining height after layout.
final
- remainingLooseHeight → double
-
Remaining loose height for flex items.
final
- remainingLooseWidth → double
-
Remaining loose width for flex items.
final
- remainingWidth → double
-
Remaining width after layout.
final
-
rowHeights
→ List<
double> -
Computed heights for each row.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
Returns the sum of all column widths and row heights.
no setter
- width → double
-
Gets the total width of the table.
no setter
Methods
-
getOffset(
int column, int row) → Offset - Calculates the top-left offset of a cell at the given position.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited