CupertinoAdaptiveTextSelectionToolbar constructor
- Key? key,
- required List<
Widget> ? children, - required TextSelectionToolbarAnchors anchors,
Create an instance of CupertinoAdaptiveTextSelectionToolbar with the
given children
.
See also:
- CupertinoAdaptiveTextSelectionToolbar.buttonItems, which takes a list
of ContextMenuButtonItems instead of
children
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({
super.key,
required this.children,
required this.anchors,
}) : buttonItems = null;