TableCellVerticalAlignment enum Null safety
Vertical alignment options for cells in RenderTable objects.
This is specified using TableCellParentData objects on the RenderObject.parentData of the children of the RenderTable.
Constructors
- TableCellVerticalAlignment()
-
const
Values
- top → const TableCellVerticalAlignment
-
Cells with this alignment are placed with their top at the top of the row.
TableCellVerticalAlignment()
- middle → const TableCellVerticalAlignment
-
Cells with this alignment are vertically centered in the row.
TableCellVerticalAlignment()
- bottom → const TableCellVerticalAlignment
-
Cells with this alignment are placed with their bottom at the bottom of the row.
TableCellVerticalAlignment()
- 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.
TableCellVerticalAlignment()
- 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.
TableCellVerticalAlignment()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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.
[top, middle, bottom, baseline, fill]