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.

Constants

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.

const TableCellVerticalAlignment(3)
bottom → const TableCellVerticalAlignment

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

const TableCellVerticalAlignment(2)
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.

const TableCellVerticalAlignment(4)
middle → const TableCellVerticalAlignment

Cells with this alignment are vertically centered in the row.

const TableCellVerticalAlignment(1)
top → const TableCellVerticalAlignment

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

const TableCellVerticalAlignment(0)
values → const List<TableCellVerticalAlignment>

A constant List of the values in this enum, in order of their declaration.

const List<TableCellVerticalAlignment>

Properties

index int

The integer index of this enum.

final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited