SelectionEventType enum Null safety

The type of a SelectionEvent.

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

Inheritance

Constructors

SelectionEventType()
const

Values

startEdgeUpdate → const SelectionEventType

An event to update the selection start edge.

Used by SelectionEdgeUpdateEvent.

SelectionEventType()
endEdgeUpdate → const SelectionEventType

An event to update the selection end edge.

Used by SelectionEdgeUpdateEvent.

SelectionEventType()
clear → const SelectionEventType

An event to clear the current selection.

Used by ClearSelectionEvent.

SelectionEventType()
selectAll → const SelectionEventType

An event to select all the available content.

Used by SelectAllSelectionEvent.

SelectionEventType()
selectWord → const SelectionEventType

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

Used by SelectWordSelectionEvent.

SelectionEventType()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[startEdgeUpdate, endEdgeUpdate, clear, selectAll, selectWord]