CupertinoAdaptiveTextSelectionToolbar.buttonItems constructor

const CupertinoAdaptiveTextSelectionToolbar.buttonItems({
  1. Key? key,
  2. required List<ContextMenuButtonItem>? buttonItems,
  3. required TextSelectionToolbarAnchors anchors,
})

Create an instance of CupertinoAdaptiveTextSelectionToolbar whose children will be built from the given buttonItems.

See also:

Implementation

const CupertinoAdaptiveTextSelectionToolbar.buttonItems({
  super.key,
  required this.buttonItems,
  required this.anchors,
}) : children = null;