getRowMaxHeight method

double? getRowMaxHeight(
  1. int index
)

Gets the maximum height constraint for a specific row.

Parameters:

  • index (int, required): Row index.

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

Implementation

double? getRowMaxHeight(int index) {
  return _heightConstraints?[index]?.max ?? _defaultHeightConstraint?.max;
}