onItemBuilder method

PopupMenuItemBuilder<T>? onItemBuilder()

Explicitly pass a BuildContext: List<PopupMenuEntry<T>> Function(BuildContext context);

Implementation

PopupMenuItemBuilder<T>? onItemBuilder() => null;