CupertinoTextSelectionToolbarButton constructor Null safety

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

Create an instance of CupertinoTextSelectionToolbarButton.

Implementation

const CupertinoTextSelectionToolbarButton({
  Key? key,
  this.onPressed,
  required this.child,
}) : super(key: key);