TextSelectionDelegate mixin Null safety

A mixin for manipulating the selection, provided for toolbar or shortcut keys.

Mixin Applications

Properties

textEditingValue TextEditingValue
Gets the current text input.
read-only
cutEnabled bool
Whether cut is enabled, must not be null.
read-only
copyEnabled bool
Whether copy is enabled, must not be null.
read-only
pasteEnabled bool
Whether paste is enabled, must not be null.
read-only
selectAllEnabled bool
Whether select all is enabled, must not be null.
read-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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