PopupMenuItemBuilder<T> typedef

PopupMenuItemBuilder<T> = List<BottomPopupMenuEntry<T>> Function(BuildContext context)

Signature used by BottomPopupMenuButton to lazily construct the items shown when the button is pressed.

Used by BottomPopupMenuButton.itemBuilder.

Implementation

typedef PopupMenuItemBuilder<T> = List<BottomPopupMenuEntry<T>> Function(
    BuildContext context);