CupertinoAdaptiveTextSelectionToolbar.buttonItems constructor
- Key? key,
- required List<
ContextMenuButtonItem> ? buttonItems, - required TextSelectionToolbarAnchors anchors,
Create an instance of CupertinoAdaptiveTextSelectionToolbar whose children will be built from the given buttonItems.
See also:
- CupertinoAdaptiveTextSelectionToolbar.new, which takes the children directly as a list of widgets.
- CupertinoAdaptiveTextSelectionToolbar.editable, which builds the default Cupertino children for an editable field.
- CupertinoAdaptiveTextSelectionToolbar.editableText, which builds the default Cupertino children for an EditableText.
- CupertinoAdaptiveTextSelectionToolbar.selectable, which builds the Cupertino children for content that is selectable but not editable.
Implementation
const CupertinoAdaptiveTextSelectionToolbar.buttonItems({
super.key,
required this.buttonItems,
required this.anchors,
}) : children = null;