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