minIntrinsicWidth method

  1. @override
double minIntrinsicWidth (Iterable<RenderBox> cells, double containerWidth)
override

The smallest width that the column can have.

The cells argument is an iterable that provides all the cells in the table for this column. Walking the cells is by definition O(N), so algorithms that do that should be considered expensive.

The containerWidth argument is the maxWidth of the incoming constraints for the table, and might be infinite.

Implementation

@override
double minIntrinsicWidth(Iterable<RenderBox> cells, double containerWidth) {
  return math.min(
    a.minIntrinsicWidth(cells, containerWidth),
    b.minIntrinsicWidth(cells, containerWidth)
  );
}