getMaxHeight method
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) ?? 0;
} else {
// The default max height for auto suggest input's popup.
return 400;
}
}