GetPopupMenuItemBuilder<T> typedef

GetPopupMenuItemBuilder<T> = PopupMenuEntry<int> Function(int index, T data)

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

Implementation

typedef GetPopupMenuItemBuilder<T> = PopupMenuEntry<int> Function(
  int index,
  T data,
);