getColumnMaxWidth method

double? getColumnMaxWidth(
  1. int index
)

Gets the maximum width constraint for a specific column.

Parameters:

  • index (int, required): Column index.

Returns: double? — maximum width, or null if unconstrained.

Implementation

double? getColumnMaxWidth(int index) {
  return _widthConstraints?[index]?.max ?? _defaultWidthConstraint?.max;
}