maximumSize property
final
The maximum size of the menu itself.
A Size.infinite or null value for this property means that the menu's maximum size is not constrained.
This value must be greater than or equal to minimumSize.
Implementation
final MaterialStateProperty<Size?>? maximumSize;