PopupMenuItemBuilder<T> typedef

List<PopupMenuEntry<T>> PopupMenuItemBuilder (BuildContext context)

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

Used by PopupMenuButton.itemBuilder.

Implementation

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