CupertinoDesktopTextSelectionToolbarButton constructor

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

Creates an instance of CupertinoDesktopTextSelectionToolbarButton.

Implementation

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