TableCellVerticalAlignment enum

Vertical alignment options for cells in RenderTable objects.

This is specified using TableCellParentData objects on the RenderObject.parentData of the children of the RenderTable.

Inheritance

Values

top → const TableCellVerticalAlignment

Cells with this alignment are placed with their top at the top of the row.

middle → const TableCellVerticalAlignment

Cells with this alignment are vertically centered in the row.

bottom → const TableCellVerticalAlignment

Cells with this alignment are placed with their bottom at the bottom of the row.

baseline → const TableCellVerticalAlignment

Cells with this alignment are aligned such that they all share the same baseline. Cells with no baseline are top-aligned instead. The baseline used is specified by RenderTable.textBaseline. It is not valid to use the baseline value if RenderTable.textBaseline is not specified.

This vertical alignment is relatively expensive because it causes the table to compute the baseline for each cell in the row.

fill → const TableCellVerticalAlignment

Cells with this alignment are sized to be as tall as the row, then made to fit the row. If all the cells have this alignment, then the row will have zero height.

intrinsicHeight → const TableCellVerticalAlignment

Cells with this alignment are sized to be the same height as the tallest cell in the row.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<TableCellVerticalAlignment>
A constant List of the values in this enum, in order of their declaration.