CupertinoDesktopTextSelectionToolbarButton.text constructor
- Key? key,
- required VoidCallback? onPressed,
- required String? text,
Create an instance of CupertinoDesktopTextSelectionToolbarButton whose child is a Text widget styled like the default Mac context menu button.
Implementation
const CupertinoDesktopTextSelectionToolbarButton.text({
super.key,
required this.onPressed,
required this.text,
}) : buttonItem = null,
child = null;