itemBuilder property

PullDownMenuItemBuilder itemBuilder
final

Called when the button is pressed to create the items to show in the menu.

If items contains at least one tappable menu item of type PullDownMenuItem.selectable all of PullDownMenuItems should also be of type PullDownMenuItem.selectable.

See https://developer.apple.com/design/human-interface-guidelines/components/menus-and-actions/pull-down-buttons

In order to achieve it all PullDownMenuItems will automatically switch to "selectable" view.

Implementation

final PullDownMenuItemBuilder itemBuilder;