It looks like PopupMenuEntry* should be PopupMenu* in the next couple of paragraphs.    Also: apps and material widgets should use PopupMenuTheme.of(context) (which defaults Theme.of(context).popupMenuTheme)).