FluentTextSelectionToolbar.editableText constructor
FluentTextSelectionToolbar.editableText({
- Key? key,
- required EditableTextState editableTextState,
Create an instance of FluentTextSelectionToolbar with the default children for an EditableText.
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.buttonItems, which takes a list of
ContextMenuButtonItems instead of
children
widgets. - AdaptiveTextSelectionToolbar.selectable, which builds the default children for content that is selectable but not editable.
Implementation
FluentTextSelectionToolbar.editableText({
super.key,
required EditableTextState editableTextState,
}) : buttonItems = editableTextState.contextMenuButtonItems,
anchors = editableTextState.contextMenuAnchors;