TextEditorSelectionChangeEvent class

Represents an event describing the change in a {@link TextEditor.selectionstext editor's selections}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TextEditorSelectionChangeEvent({TextEditor? textEditor, List<Selection>? selections, TextEditorSelectionChangeKind? kind})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
kind TextEditorSelectionChangeKind?

Available on TextEditorSelectionChangeEvent, provided by the TextEditorSelectionChangeEvent$Typings extension

The {@link TextEditorSelectionChangeKindchange kind} which has triggered this event. Can be undefined.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selections List<Selection>

Available on TextEditorSelectionChangeEvent, provided by the TextEditorSelectionChangeEvent$Typings extension

The new value for the {@link TextEditor.selectionstext editor's selections}.
no setter
textEditor TextEditor

Available on TextEditorSelectionChangeEvent, provided by the TextEditorSelectionChangeEvent$Typings extension

The {@link TextEditortext editor} for which the selections have changed.
no setter

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