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. The ContextMenuButtonItems that will be turned into the correct button widgets for the current platform.
- 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;