ContextMenuButtonItem constructor
- required VoidCallback? onPressed,
- ContextMenuButtonType type = ContextMenuButtonType.custom,
- String? label,
Creates a const instance of ContextMenuButtonItem.
Implementation
const ContextMenuButtonItem({
required this.onPressed,
this.type = ContextMenuButtonType.custom,
this.label,
});