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