PopupMenuState

constructor(showPopup: Boolean = false, lastPress: Offset = Offset.Zero, items: List<PopupMenuItem> = emptyList())

Parameters

showPopup

Whether the popup menu should be shown

lastPress

The offset of the last press that triggered the popup menu

items

The items to show in the popup menu