MaxColumnWidth class

Sizes the column such that it is the size that is the maximum of two column width specifications.

For example, to have a column be 10% of the container width or 100px, whichever is bigger, you could use:

const MaxColumnWidth(const FixedColumnWidth(100.0), FractionColumnWidth(0.1))

Both specifications are evaluated, so if either specification is expensive, so is this.



MaxColumnWidth(TableColumnWidth a, TableColumnWidth b)
Creates a column width that is the maximum of two other column widths.


a TableColumnWidth
A lower bound for the width of this column.
b TableColumnWidth
Another lower bound for the width of this column.
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


flex(Iterable<RenderBox> cells) → double
The flex factor to apply to the cell if there is any room left over when laying out the table. The remaining space is distributed to any columns with flex in proportion to their flex value (higher values get more space). [...]
maxIntrinsicWidth(Iterable<RenderBox> cells, double containerWidth) → double
The ideal width that the column should have. This must be equal to or greater than the minIntrinsicWidth. The column might be bigger than this width, e.g. if the column is flexible or if the table's width ends up being forced to be bigger than the sum of all the maxIntrinsicWidth values. [...]
minIntrinsicWidth(Iterable<RenderBox> cells, double containerWidth) → double
The smallest width that the column can have. [...]
toString() → String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]


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