BasePopupMenuButton constructor

const BasePopupMenuButton({
  1. Key? key,
  2. required List<BasePopupMenuItem> items,
  3. required ValueChanged<int> onSelected,
  4. String? buttonLabel,
  5. IconData? materialIcon,
  6. String? iosIcon,
  7. CNButtonStyle? buttonStyle,
  8. double size = 44.0,
  9. bool enabled = true,
  10. String? tooltip,
  11. bool useCNPopupMenuButton = true,
  12. BaseParam? baseParam,
})

Implementation

const BasePopupMenuButton({
  Key? key,
  required this.items,
  required this.onSelected,
  this.buttonLabel,
  this.materialIcon,
  this.iosIcon,
  this.buttonStyle,
  this.size = 44.0,
  this.enabled = true,
  this.tooltip,
  this.useCNPopupMenuButton = true,
  BaseParam? baseParam,
})  : _isIconButton = false,
      super(key: key, baseParam: baseParam);