CNNavigationBarAction.pullDownButton constructor
const
CNNavigationBarAction.pullDownButton({})
Creates a navigation bar action with a CNPullDownButton. This provides a native pull-down button that shows a menu below the button.
Implementation
const CNNavigationBarAction.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,
segmentedControlLabels = null,
segmentedControlSelectedIndex = null,
onSegmentedControlValueChanged = null,
segmentedControlHeight = null,
segmentedControlWidth = null,
_isFixedSpace = false,
_isFlexibleSpace = false,
_usePopupMenuButton = false,
_usePullDownButton = true;