position property Null safety

PopupMenuPosition position
final

Whether the popup menu is positioned over or under the popup menu button.

offset is used to change the position of the popup menu relative to the position set by this parameter.

When not set, the position defaults to PopupMenuPosition.over which makes the popup menu appear directly over the button that was used to create it.

Implementation

final PopupMenuPosition position;