AdaptiveTextSelectionToolbar.buttonItems constructor

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

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

See also:

Implementation

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