overlayPadding property
final
The padding inside the overlay between its boundary and the menu content.
If the menu width is larger than the available space in the overlay minus the overlayPadding and constrainCrossAxis is false, the menu will be positioned against the starting edge of the overlay (left when the ambient Directionality is TextDirection.ltr, and right when the ambient Directionality is TextDirection.rtl). If constrainCrossAxis is true, the menu width will shrink to fit within the overlay bounds minus the overlayPadding.
Defaults to EdgeInsets.all(8).
Implementation
final EdgeInsetsGeometry overlayPadding;