SelectionChangedCause enum
Indicates what triggered the change in selected text (including changes to the cursor location).
Constants
- doubleTap → const SelectionChangedCause
-
The user tapped twice in quick succession on the text and that caused the selection (or the location of the cursor) to change.
const SelectionChangedCause(1)
- keyboard → const SelectionChangedCause
-
The user used the keyboard to change the selection or the location of the cursor.
Keyboard-triggered selection changes may be caused by the IME as well as by accessibility tools (e.g. TalkBack on Android).
const SelectionChangedCause(3)
- longPress → const SelectionChangedCause
-
The user long-pressed the text and that caused the selection (or the location of the cursor) to change.
const SelectionChangedCause(2)
- tap → const SelectionChangedCause
-
The user tapped on the text and that caused the selection (or the location of the cursor) to change.
const SelectionChangedCause(0)
-
values
→ const List<
SelectionChangedCause> -
A constant List of the values in this enum, in order of their declaration.
const List<
SelectionChangedCause>
Properties
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited