getMaxHeight method
The max height.
Returns null if max height is not specified.
Implementation
@override
num? getMaxHeight(num positionY, num viewportHeight) => _maxHeight == null
? _parentPopupSizeProvider?.getMaxHeight(positionY, viewportHeight)
: _maxHeight?.getPixels(viewportHeight);