TextSelectionDelegate mixin
A mixin for manipulating the selection, provided for toolbar or shortcut keys.
- Mixin Applications
Properties
- copyEnabled → bool
-
Whether copy is enabled.
no setter
- cutEnabled → bool
-
Whether cut is enabled.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveTextInputEnabled → bool
-
Whether Live Text input is enabled.
no setter
- lookUpEnabled → bool
-
Whether look up is enabled.
no setter
- pasteEnabled → bool
-
Whether paste is enabled.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchWebEnabled → bool
-
Whether search web is enabled.
no setter
- selectAllEnabled → bool
-
Whether select all is enabled.
no setter
-
Whether share is enabled.
no setter
- textEditingValue → TextEditingValue
-
Gets the current text input.
no setter
Methods
-
bringIntoView(
TextPosition position) → void - Brings the provided TextPosition into the visible area of the text input.
-
copySelection(
SelectionChangedCause cause) → void - Copy current selection to Clipboard.
-
cutSelection(
SelectionChangedCause cause) → void - Cut current selection to Clipboard.
-
hideToolbar(
[bool hideHandles = true]) → void - Hides the text selection toolbar.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pasteText(
SelectionChangedCause cause) → Future< void> - Paste text from Clipboard.
-
selectAll(
SelectionChangedCause cause) → void - Set the current selection to contain the entire text value.
-
toString(
) → String -
A string representation of this object.
inherited
-
userUpdateTextEditingValue(
TextEditingValue value, SelectionChangedCause cause) → void -
Indicates that the user has requested the delegate to replace its current
text editing state with
value
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited