CupertinoDesktopTextSelectionToolbar constructor

const CupertinoDesktopTextSelectionToolbar({
  1. Key? key,
  2. required Offset anchor,
  3. required List<Widget> children,
})

Creates a const instance of CupertinoTextSelectionToolbar.

Implementation

const CupertinoDesktopTextSelectionToolbar({
  super.key,
  required this.anchor,
  required this.children,
}) : assert(children.length > 0);