CupertinoTextSelectionToolbar constructor Null safety

const CupertinoTextSelectionToolbar(
  1. {Key? key,
  2. required Offset anchorAbove,
  3. required Offset anchorBelow,
  4. required List<Widget> children,
  5. CupertinoToolbarBuilder toolbarBuilder = _defaultToolbarBuilder}
)

Creates an instance of CupertinoTextSelectionToolbar.

Implementation

const CupertinoTextSelectionToolbar({
  super.key,
  required this.anchorAbove,
  required this.anchorBelow,
  required this.children,
  this.toolbarBuilder = _defaultToolbarBuilder,
}) : assert(children.length > 0);