CupertinoTextSelectionToolbarButton constructor

const CupertinoTextSelectionToolbarButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. required Widget child,
})

Create an instance of CupertinoTextSelectionToolbarButton.

Implementation

const CupertinoTextSelectionToolbarButton({
  super.key,
  this.onPressed,
  required Widget this.child,
}) : text = null,
     buttonItem = null;