popup Menu Item
Creates a PopupMenuItem using a string resource for the text.
Return
A PopupMenuItemImpl with the resolved text and action.
Parameters
text Id
The string resource ID for the menu item text.
action
The action to perform when the menu item is clicked.