CNToolbarAction.pullDownButton constructor
const
CNToolbarAction.pullDownButton({})
Creates a toolbar action with a CNPullDownButton. This provides Apple Design Guidelines compliant pull-down menus that appear below the button.
Implementation
const CNToolbarAction.pullDownButton({
this.icon,
this.label,
required this.popupMenuItems,
required this.onPopupMenuSelected,
this.padding,
this.labelSize,
this.iconSize,
this.tint,
this.badgeValue,
this.badgeColor,
}) : onPressed = null,
_isFixedSpace = false,
_isFlexibleSpace = false,
_usePopupMenuButton = false,
_usePullDownButton = true;