MenuBuilder typedef
MenuBuilder =
Widget Function(BuildContext context, ClosePopupFn closePopup)
Used to build the custom widget inside the popup menu. The widget can call
openPopup
to open the popup menu. WithKeepKeyboardPopupMenu will then
wrap your widget in a ListView.
Implementation
typedef Widget MenuBuilder(
BuildContext context,
ClosePopupFn closePopup,
);