maxIntrinsicWidth method
Calculates the maximum intrinsic width similarly, for flexible layouts.
Allows columns to expand based on content while respecting padding.
Implementation
@override
double maxIntrinsicWidth(Iterable<RenderBox> cells, double containerWidth) {
double result = 0.0;
for (final RenderBox cell in cells) {
result = max(result, cell.getMaxIntrinsicWidth(double.infinity));
}
return result + _padding;
}