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