CupertinoTextSelectionToolbarButton constructor Null safety

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 this.child,
});