SelectionEventType enum

The type of a SelectionEvent.

Used by SelectionEvent.type to distinguish different types of events.

Inheritance

Values

startEdgeUpdate → const SelectionEventType

An event to update the selection start edge.

Used by SelectionEdgeUpdateEvent.

endEdgeUpdate → const SelectionEventType

An event to update the selection end edge.

Used by SelectionEdgeUpdateEvent.

clear → const SelectionEventType

An event to clear the current selection.

Used by ClearSelectionEvent.

selectAll → const SelectionEventType

An event to select all the available content.

Used by SelectAllSelectionEvent.

selectWord → const SelectionEventType

An event to select a word at the location SelectWordSelectionEvent.globalPosition.

Used by SelectWordSelectionEvent.

selectParagraph → const SelectionEventType

An event to select a paragraph at the location SelectParagraphSelectionEvent.globalPosition.

Used by SelectParagraphSelectionEvent.

granularlyExtendSelection → const SelectionEventType

An event that extends the selection by a specific TextGranularity.

directionallyExtendSelection → const SelectionEventType

An event that extends the selection in a specific direction.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<SelectionEventType>
A constant List of the values in this enum, in order of their declaration.