CupertinoTextSelectionToolbarButton.buttonItem constructor
- Key? key,
- required ContextMenuButtonItem buttonItem,
Create an instance of CupertinoTextSelectionToolbarButton from the given ContextMenuButtonItem.
Implementation
CupertinoTextSelectionToolbarButton.buttonItem({
super.key,
required ContextMenuButtonItem this.buttonItem,
}) : child = null,
text = null,
onPressed = buttonItem.onPressed;