ExtendedTextSelectionOverlay class

Constructors

ExtendedTextSelectionOverlay({required TextEditingValue value, required BuildContext context, Widget? debugRequiredFor, required LayerLink toolbarLayerLink, required LayerLink startHandleLayerLink, required LayerLink endHandleLayerLink, required _RenderEditable renderObject, TextSelectionControls? selectionControls, bool handlesVisible = false, required TextSelectionDelegate selectionDelegate, DragStartBehavior dragStartBehavior = DragStartBehavior.start, VoidCallback? onSelectionHandleTapped, ClipboardStatusNotifier? clipboardStatus, WidgetBuilder? contextMenuBuilder, required TextMagnifierConfiguration magnifierConfiguration})

Properties

context BuildContext
The context in which the selection UI should appear.
finalinherited
contextMenuBuilder WidgetBuilder?
Builds the text selection toolbar when requested by the user.
finalinherited
handlesAreVisible bool
Whether the handles are currently visible.
no setterinherited
handlesVisible bool
Whether selection handles are visible.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
magnifierIsVisible bool
Whether the magnifier is currently visible.
no setterinherited
renderObject → _RenderEditable
The editable line in which the selected text is being displayed. zmtzawqlp
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionControls TextSelectionControls?
Builds text selection handles and toolbar.
finalinherited
selectionDelegate TextSelectionDelegate
The delegate for manipulating the current selection in the owning text field.
finalinherited
spellCheckToolbarIsVisible bool
Whether the spell check menu is currently visible.
no setterinherited
toolbarIsVisible bool
Whether the toolbar is currently visible.
no setterinherited
value TextEditingValue
Retrieve current value.
no setterinherited

Methods

dispose() → void
Disposes this object and release resources.
inherited
hide() → void
Hides the entire overlay including the toolbar and the handles.
inherited
hideHandles() → void
Destroys the handles by removing them from overlay.
inherited
hideMagnifier() → void
Hide the current magnifier.
inherited
hideToolbar() → void
Hides the toolbar part of the overlay.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showHandles() → void
Builds the handles by inserting them into the context's overlay.
inherited
showMagnifier(Offset positionToShow) → void
Shows the magnifier, and hides the toolbar if it was showing when showMagnifier was called. This is safe to call on platforms not mobile, since a magnifierBuilder will not be provided, or the magnifierBuilder will return null on platforms not mobile.
inherited
showSpellCheckSuggestionsToolbar(WidgetBuilder spellCheckSuggestionsToolbarBuilder) → void
Shows toolbar with spell check suggestions of misspelled words that are available for click-and-replace.
inherited
showToolbar() → void
Shows the toolbar by inserting it into the context's overlay.
inherited
toString() String
A string representation of this object.
inherited
update(TextEditingValue newValue) → void
Updates the overlay after the selection has changed.
inherited
updateForScroll() → void
Causes the overlay to update its rendering.
inherited
updateMagnifier(Offset positionToShow) → void
Update the current magnifier with new selection data, so the magnifier can respond accordingly.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited