getMaxHeight method

  1. @override
num? getMaxHeight(
  1. num positionY,
  2. num viewportHeight
)
override

The max height.

Returns null if max height is not specified.

Implementation

@override
num? getMaxHeight(num positionY, num viewportHeight) {
  if (_popupSizeDelegate != null) {
    return _popupSizeDelegate!.getMaxHeight(positionY, viewportHeight);
  } else {
    return 400;
  }
}