Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected. The value passed to onSelected is the value of the selected menu item.
One of child or icon may be provided, but not both. If icon is provided, then PopupMenuButton behaves like an IconButton.
If both are null, then a standard overflow icon is created (depending on the platform).
PopupMenuItem, a popup menu entry for a single value.
PopupMenuDivider, a popup menu entry that is just a horizontal line.
CheckedPopupMenuItem, a popup menu item with a checkmark.
showMenu, a method to dynamically show a popup menu at a given location.
#sec_it_developers
#flutter_course_in_arabic
our community
facebook page : https://bit.ly/3vtKu2h
facebook group : https://bit.ly/3vtKIGF
facebook profile : https://bit.ly/3h5WwcP
telegram channel : https://bit.ly/2TJBlVO
.