alignmentOffset property
The offset of the menu relative to the alignment origin determined by
MenuStyle.alignment on the style
attribute and the ambient
Directionality.
Use this for adjustments of the menu placement.
Increasing Offset.dy values of alignmentOffset move the menu position down.
If the MenuStyle.alignment from style
is not an AlignmentDirectional
(e.g. Alignment), then increasing Offset.dx values of
alignmentOffset move the menu position to the right.
If the MenuStyle.alignment from style
is an AlignmentDirectional,
then in a TextDirection.ltr Directionality, increasing Offset.dx
values of alignmentOffset move the menu position to the right. In a
TextDirection.rtl directionality, increasing Offset.dx values of
alignmentOffset move the menu position to the left.
Defaults to Offset.zero.
Implementation
final Offset? alignmentOffset;