getMaxWidth method
The max width.
Returns null if max width is not specified.
Implementation
@override
num getMaxWidth(num positionX, num viewportWidth) {
if (_popupSizeDelegate != null) {
return _popupSizeDelegate?.getMaxWidth(positionX, viewportWidth) ?? 0;
} else {
// The default max height for auto suggest input's popup. This was
// previously max width for material list.
return 448;
}
}