GranularlyExtendSelectionEvent class

Extends the start or end of the selection by a given TextGranularity.

To handle this event, move the associated selection edge, as dictated by isEnd, according to the granularity.

Inheritance

Constructors

GranularlyExtendSelectionEvent({required bool forward, required bool isEnd, required TextGranularity granularity})
Creates a GranularlyExtendSelectionEvent.
const

Properties

forward bool
Whether to extend the selection forward.
final
granularity TextGranularity
The granularity for which the selection extend.
final
hashCode int
The hash code for this object.
read-onlyinherited
isEnd bool
Whether this event is updating the end selection edge.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type SelectionEventType
The type of this selection event.
finalinherited

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